From 6ed087a65c1e7fdc020f11b5247a8feeac7b3517 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 10 Feb 2011 16:18:17 +0100 Subject: Fix /list completion (complete the servers only) --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.py b/src/core.py index b3119499..41ec12f2 100644 --- a/src/core.py +++ b/src/core.py @@ -1134,7 +1134,7 @@ class Core(object): for tab in self.tabs: # TODO, also from an history if isinstance(tab, tabs.MucTab) and\ tab.get_name() not in muc_serv_list: - muc_serv_list.append(tab.get_name()) + muc_serv_list.append(JID(tab.get_name()).server) if muc_serv_list: return the_input.auto_completion(muc_serv_list, ' ') -- cgit v1.2.3