[JDEV] Status offline on </jabber>
Jeremie
jeremie at jabber.org
Thu Oct 14 11:46:03 CDT 1999
> The problem is that the jabber server immediately sends a <status
> type='offline'></status> when it gets the </jabber> tag. This is going
> to cause the one shot programs to become annoying. Is this problem
> fixed with the new presence idea? Or will it still send that <status>
> message when it gets a </jabber> tag?
Yes, the </jabber> signifies the end of the stream/connection and the end
of the presence for that nickname, so the server signals that it's
offline. It should only be for the nickname that was online in that
connection.
For one-shot messages and such, the sending app would most likely connect
and send the message without ever messing with any status/presence stuff,
and hence wouldn't go online/offline right away.
Jer
More information about the JDev
mailing list