From ff3c40c5b47b311b7f4d3f157c9d5bd63fe99b39 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 26 Sep 2011 10:40:04 +0200 Subject: 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) --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit v1.2.3