summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-15 18:48:09 +0100
committermathieui <mathieui@mathieui.net>2011-11-15 18:48:09 +0100
commit0fe7061eb58525ef8643494c3a025e9e1802e75d (patch)
tree758150d4ed8cb060f650771383556c3dfbb1a716
parent4208920f425e9f37072715e52a5c7e95f074ab6e (diff)
downloadpoezio-0fe7061eb58525ef8643494c3a025e9e1802e75d.tar.gz
poezio-0fe7061eb58525ef8643494c3a025e9e1802e75d.tar.bz2
poezio-0fe7061eb58525ef8643494c3a025e9e1802e75d.tar.xz
poezio-0fe7061eb58525ef8643494c3a025e9e1802e75d.zip
Fixes #2294
-rw-r--r--src/tabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 430ee7f8..c7e58e81 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -665,6 +665,7 @@ class MucTab(ChatTab):
else:
arg = None
if self.joined:
+ self.disconnect()
muc.leave_groupchat(self.core.xmpp, self.name, self.own_nick, arg)
self.add_message(_("\x195}You left the chatroom\x193}"))
if self == self.core.current_tab():