How to disable chat users in ejabberd
1 answer
As defined in XEP-0045 MultiUser Chat, the chat room in XMPP is presence-based. I mean it joins the room you send the room attendance package to . When you disconnect, the server will send an unavailable presence to the room for you to leave . You can also send unavailable presence to leave it "manually" but still stay connected.
This means that by definition there are no offline users in the XMPP chat room.
0
source to share