Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only leave a user if their membership is marked as left #63

Half-Shot opened this issue Mar 22, 2019 · 2 comments


None yet
3 participants
Copy link

commented Mar 22, 2019

We treat any unavailable presence as a leave, which is spammy


This comment has been minimized.

Copy link

commented Mar 24, 2019

How soon is XMPP user marked as unavailable, do bad connections cause that a lot?

I wonder if XEP-0198: Stream Management could help with that, but I cannot find out if that has anything to do with MUCs or only the server user is using.


This comment has been minimized.

Copy link

commented Apr 10, 2019

0198 will hide some cases of part&join from the MUC service, but often a client session is either not resumed within the typical 5-minutes 0198 timeout or the (mobile) client gets oom-killed and restarts.

XMPP does not have an explicit "leave this room forever" feature. Possible workarounds are:

  • ad-hoc command or ome other explicit "leave this room" command over a separate channel
  • track the last activity from a real JID and throw the user out after a timeout. I suppose something in the order of 30min to 60min would be appropriate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.