user remains online on ejabberd server, if disconnected from server abruptly (network down etc..)

Hi All,

If any logged-in user lost connection from ejabberd server due to improper reason, it remains online on ejabberd connected-users list for long time. As per my view, it should be offline after some time?

Please help, how I can handle this issue as I need to offline user from ejabberd server also, if disconnected abruptly.

Regards,
Kamal

Check: How to close sessions

Syndicate content