Ad-hoc requests can be sent on any JID, not just servers
This commit is contained in:
parent
992fe72554
commit
ba93f3f236
1 changed files with 1 additions and 1 deletions
|
@ -945,7 +945,7 @@ def command_adhoc(self, arg):
|
||||||
if len(arg) > 1:
|
if len(arg) > 1:
|
||||||
return self.command_help('list')
|
return self.command_help('list')
|
||||||
elif arg:
|
elif arg:
|
||||||
jid = safeJID(arg[0]).server
|
jid = safeJID(arg[0])
|
||||||
else:
|
else:
|
||||||
return self.information('Please provide a jid', 'Error')
|
return self.information('Please provide a jid', 'Error')
|
||||||
list_tab = tabs.AdhocCommandsListTab(jid)
|
list_tab = tabs.AdhocCommandsListTab(jid)
|
||||||
|
|
Loading…
Reference in a new issue