[jdev] Q about user leaving conference
Ralph Meijer
jabber.org at ralphm.ik.nu
Tue Mar 29 02:34:46 CST 2005
On Tue, Mar 29, 2005 at 10:24:44AM +0200, Ulrich Staudinger wrote:
> hi,
>
> i just found a little problem situation with Groupchat/MUC and a user
> disconnecting during implementation phase.
>
> Situation is:
> 1) User disconnects; sends <presence type='unavailable'> to server
> 2) Server routes presence tag to all contacts in user's roster
> 3) User is still in groupchat, simply because the MUC jid isn't in the
> user's roster ...
>
> Q: How is server supposed to know that the presence tag must be routed
> to the groupchat ?
The presence you sent to the groupchat is directed presence, and the server
should remember this. When you go offline later, the server should also
send that to the groupchat rooms you're in.
--
Groetjes,
ralphm
More information about the JDev
mailing list