if we receive an unavailable presence from our nick (in a muc), disconnect from the muc

parent 896fa313
......@@ -342,6 +342,9 @@ class Gui(object):
When an user leaves a groupchat
if room.own_nick == user.nick:
# We are now out of the room. Happens with some buggy (? not sure) servers
hide_exit_join = config.get('hide_exit_join', -1) if config.get('hide_exit_join', -1) >= -1 else -1
if hide_exit_join == -1 or user.has_talked_since(hide_exit_join):
if not jid.full:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment