Fix a traceback on command_win: matchin_names() must return strings, not JIDs

This commit is contained in:
Florent Le Coz 2014-08-08 18:11:56 +02:00
parent 8a32ab2514
commit 2e73331d07

View file

@ -18,7 +18,7 @@ class AdhocCommandsListTab(ListTab):
plugin_keys = {} plugin_keys = {}
def __init__(self, jid): def __init__(self, jid):
ListTab.__init__(self, jid, ListTab.__init__(self, jid.full,
"“Enter”: execute selected command.", "“Enter”: execute selected command.",
_('Ad-hoc commands of JID %s (Loading)') % jid, _('Ad-hoc commands of JID %s (Loading)') % jid,
(('Node', 0), ('Description', 1))) (('Node', 0), ('Description', 1)))