Commit ba93f3f2 authored by louiz’'s avatar louiz’

Ad-hoc requests can be sent on any JID, not just servers

parent 992fe725
......@@ -945,7 +945,7 @@ def command_adhoc(self, arg):
if len(arg) > 1:
return self.command_help('list')
elif arg:
jid = safeJID(arg[0]).server
jid = safeJID(arg[0])
return self.information('Please provide a jid', 'Error')
list_tab = tabs.AdhocCommandsListTab(jid)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment