Fix /list completion (complete the servers only)

This commit is contained in:
Florent Le Coz 2011-02-10 16:18:17 +01:00
parent 30f9f2b055
commit 6ed087a65c

View file

@ -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, ' ')