Direct presence and message delivery semantics

Hi, I’'m doing some experiments with clients sending direct presence stanzas in order to appear online only to some selected users in the roster. The client basically authenticates against wildfire and it never sends a broadcast presence stanza. When it wants to become available to a particular contact, it sends a presence packet to it. This works fine and the presence status is maintained also when the contact goes offline and logins again. The problem is for message stanzas: they work only one way: my client can send them, but it never receives any answer from the selected contact until it goes globally online. I think I could solve this with a packet interceptor, but imho this a general problem in message delivery semantics.


I have tested and verified that this is in fact an issue, I have created a Jira issue accordingly:




thanks to you for prompt answer!