fix command requesting XML

This commit is contained in:
Yann Leboulanger 2008-09-26 13:03:25 +00:00
parent e236382f3d
commit 62fe4b1874
1 changed files with 1 additions and 1 deletions

View File

@ -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):