chungvodim / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

Invite user to join MUC ?bug? #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. generate invite packet

<message id="JN_22" 
         to="room1@conference.v-doc-imchat.infoassure.local">
  <x xmlns="http://jabber.org/protocol/muc#user">
    <invite to="chanks@v-doc-imchat.infoassure.local">
      <reason></reason>
    </invite>
  </x>
</message>

packet never arrives at other end.
I monitored the JabberClient.OnMessage event

the following packet
<message id="JN_24" 
         to="room1@conference.v-doc-imchat.infoassure.local">
  <x xmlns="http://jabber.org/protocol/muc#user">
    <invite to="host@v-doc-imchat.infoassure.local">
      <reason>hardcoded reason and jid</reason>
    </invite>
  </x>
</message>

which was directed to a Spark Client is delivered just fine and is 
processed by the Spark Client.

What could I be doing wrong to result in this packet not getting to the 
client using the Jabber-net library?

Original issue reported on code.google.com by BCaseyHa...@gmail.com on 1 Dec 2008 at 8:53

GoogleCodeExporter commented 8 years ago
I am attempting to impliment the invite users to join a MUC into my IM client.

When I generate a packet such as:
<message id="JN_22" 
         to="room1@conference.v-doc-imchat.infoassure.local">
  <x xmlns="http://jabber.org/protocol/muc#user">
    <invite to="chanks@v-doc-imchat.infoassure.local">
      <reason></reason>
    </invite>
  </x>
</message>

the packet never arrives at other end.
the recieving client is monitoring the JabberClient.OnMessage event

the following packet
<message id="JN_24" 
         to="room1@conference.v-doc-imchat.infoassure.local">
  <x xmlns="http://jabber.org/protocol/muc#user">
    <invite to="host@v-doc-imchat.infoassure.local">
      <reason>hardcoded reason and jid</reason>
    </invite>
  </x>
</message>

was sent to a Spark Client and was delivered just fine and is processed by the 
Spark 
Client.

What could I be doing wrong to result in this packet not getting to the client 
using 
the Jabber-net library?

Do you have any suggestions how to trouble shoot this issue?  What could cuase 
a 
packet to get dropped?  Does the Jabber-net library support packets for the 
request 
on the recieving end formmated as:

<message to="t7@v-doc-imchat.infoassure.local" 
                from="room1@conference.v-doc-imchat.infoassure.local">
  <body>host@v-doc-imchat.infoassure.local/spark invites you to the room 
room1@conference.v-doc-imchat.infoassure.local (Please join me in a 
conference.) 
</body>
  <x xmlns="http://jabber.org/protocol/muc#user">
    <invite from="host@v-doc-imchat.infoassure.local/spark">
      <reason>Please join me in a conference.</reason>
    </invite>
  </x>
  <x xmlns="jabber:x:conference" jid="room1@conference.v-doc-
imchat.infoassure.local"/>
</message>

Original comment by BCaseyHa...@gmail.com on 1 Dec 2008 at 8:58

GoogleCodeExporter commented 8 years ago
Is the target use on GoogleTalk, or do they have a privacy list filtering out 
messages from people not on their roster?

Original comment by hil...@gmail.com on 3 Dec 2008 at 3:33

GoogleCodeExporter commented 8 years ago
I am pretty sure that this issue is being cuase by issue #54 below.  The 
real 'problem' is that the message packet generated by the server is addressed 
to a 
Bare JID.  In #54 I outline the tests that I have done to reproduce Messages 
addressed to Bare JIDs not be delivered in the context of 1 to 1 chat.

Thanks,

Casey

p.s. please reactivate issue #54 as I believe it is worthy of discussion.

Original comment by BCaseyHa...@gmail.com on 3 Dec 2008 at 4:11

GoogleCodeExporter commented 8 years ago
Client had priority -1 presence.  Invalid.

Original comment by hil...@gmail.com on 10 Dec 2008 at 5:58