Project

General

Profile

User disconnect hook

Matt Morten
Added over 4 years ago

Hi,

I need to somehow get notified when a user disconnects from the server. I need to know the JID of that user. Can I do that with a plugin / component?

Thanks


Replies (1)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 4 years ago

The best way is to implement XMPPStopListenerIfc as a SessionManager plugin. Please take a look at Presence plugin which does exactly this.

    (1-1/1)