summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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():