summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py2
-rw-r--r--src/tabs.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 96cc1454..1ef6a556 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1989,7 +1989,7 @@ class Core(object):
if tab.joined:
muc.leave_groupchat(tab.core.xmpp, tab.get_name(), tab.own_nick, message)
tab.joined = False
- self.command_join(tab.get_name())
+ self.command_join('%s/%s' %(tab.get_name(), tab.own_nick))
def command_bind(self, arg):
"""
diff --git a/src/tabs.py b/src/tabs.py
index 3db2e9f7..6cf13b96 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -730,7 +730,7 @@ class MucTab(ChatTab):
muc.leave_groupchat(self.core.xmpp, self.get_name(), self.own_nick, arg)
self.disconnect()
self.core.disable_private_tabs(self.name)
- self.core.command_join('"/%s"' % self.core.get_bookmark_nickname(self.name), '0')
+ self.core.command_join('"/%s"' % self.own_nick)
self.user_win.pos = 0
def command_recolor(self, arg):