summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-10 16:18:17 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-10 16:18:17 +0100
commit6ed087a65c1e7fdc020f11b5247a8feeac7b3517 (patch)
tree08bd3de9625171e1ecbce3b84eb013f80123afae /src
parent30f9f2b0559bdb045e003bfa7c0c53a3fa9f4c07 (diff)
downloadpoezio-6ed087a65c1e7fdc020f11b5247a8feeac7b3517.tar.gz
poezio-6ed087a65c1e7fdc020f11b5247a8feeac7b3517.tar.bz2
poezio-6ed087a65c1e7fdc020f11b5247a8feeac7b3517.tar.xz
poezio-6ed087a65c1e7fdc020f11b5247a8feeac7b3517.zip
Fix /list completion (complete the servers only)
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 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, ' ')