fix command requesting XML
This commit is contained in:
parent
e236382f3d
commit
62fe4b1874
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue