summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-09-26 10:40:04 +0200
committermathieui <mathieui@mathieui.net>2011-09-26 10:40:04 +0200
commitff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39 (patch)
treee8e8ebc93355d5e4b9351250dce5803d65ec42e2 /src
parenta80338f25ba1f63a31e0675eb213a06ec9172032 (diff)
downloadpoezio-ff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39.tar.gz
poezio-ff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39.tar.bz2
poezio-ff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39.tar.xz
poezio-ff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39.zip
Fixes a bug when the user leaves a MucTab, goes to a privatetab and /join with no args
(it joined the muc, but did not open a new tab)
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 3c4af5d9..766be909 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1275,7 +1275,7 @@ class Core(object):
t = self.current_tab()
if not isinstance(t, tabs.MucTab) and not isinstance(t, tabs.PrivateTab):
return
- room = t.get_name()
+ room = JID(t.get_name()).bare
nick = t.get_room().own_nick
else:
info = JID(args[0])