[jdev] Q about user leaving conference

Peter Saint-Andre stpeter at jabber.org
Tue Mar 29 09:38:29 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 server MUST also send presence type='unavailable' to any JID to
which the user has sent driected presence during his session, which
includes the MUC room (you have to send presence to the room+nick in
order to join).

/psa




More information about the JDev mailing list