diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-05 00:22:18 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-10-05 00:22:18 +0000 |
commit | 01e5856162f31235546460eb489b9976783be69d (patch) | |
tree | e98397c095d5eae125a8c6ec8b8d12732543df17 /src | |
parent | 896fa313d290549db43a75dd7ab0dd2b49d0aef9 (diff) | |
download | poezio-01e5856162f31235546460eb489b9976783be69d.tar.gz poezio-01e5856162f31235546460eb489b9976783be69d.tar.bz2 poezio-01e5856162f31235546460eb489b9976783be69d.tar.xz poezio-01e5856162f31235546460eb489b9976783be69d.zip |
if we receive an unavailable presence from our nick (in a muc), disconnect from the muc
Diffstat (limited to 'src')
-rw-r--r-- | src/gui.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -342,6 +342,9 @@ class Gui(object): When an user leaves a groupchat """ room.users.remove(user) + if room.own_nick == user.nick: + # We are now out of the room. Happens with some buggy (? not sure) servers + room.disconnect() 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: |