JohnKenVan / jabber-net

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

"Presence only" connection receives ims #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login to gtalk with JabberClient.Priority = -1
2. Send an IM to the client
3. client receives the IM

What is the expected output? What do you see instead?
A presence-only connection should not receive ims.  

What version of the product are you using? On what operating system?
not sure (will download the newest version tomorrow and try again)

Please provide any additional information below.
Not sure if this is a problem with the jabber client or gtalk, since
gtalk's interface does not have the option. pos.

Original issue reported on code.google.com by duffy.a...@gmail.com on 25 Jun 2008 at 4:38

GoogleCodeExporter commented 8 years ago
This is a function of the server.  Ask talk to implement RFC 3921, section 
11.1.4.1 correctly:

"However, the server MUST NOT deliver the stanza to an available resource with 
a negative priority; if the only 
available resource has a negative priority, the server SHOULD handle the 
message as if there were no available 
resources (defined below)."

Original comment by hil...@gmail.com on 25 Jun 2008 at 2:56

GoogleCodeExporter commented 8 years ago
Thanks for the confirmation!

Original comment by duffy.a...@gmail.com on 25 Jun 2008 at 3:40