Re: Identifying Kick-out
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Wed, 11 Jul 2007 00:17:35 +0200 (CEST)
On Tue Jul 10 2007, Rafi Rainshtein wrote:
> Hi,
>
>
>
> I was wondering whether there's a way to tell whether a user has been
> kicked-out by the server (maybe through onDisconnect())?

Kicked out as in disconnect on TCP level? Or kicked from a MUC room?

The former should be handled by onDisconnect(), the latter by 
MUCRoomHandler::handleMUCParticipantPresence() with the flags parameter 
containing UserSelf | UserKicked.

cheers,
Jakob

Attachment: pgpRxdrN7bdXk.pgp
Description: PGP signature