diff --git a/src/adhoc_commands.py b/src/adhoc_commands.py index ff80d8cab..4e4c4e034 100644 --- a/src/adhoc_commands.py +++ b/src/adhoc_commands.py @@ -444,7 +444,7 @@ class CommandWindow: # handling xml stanzas def request_command_list(self): '''Request the command list. Change stage on delivery.''' - query = xmpp.Iq(typ='get', to=xmpp.JID(self.jid), xmlns=xmpp.NS_DISCO_ITEMS) + query = xmpp.Iq(typ='get', to=xmpp.JID(self.jid), queryNS=xmpp.NS_DISCO_ITEMS) query.setQuerynode(xmpp.NS_COMMANDS) def callback(response):