Changeset 8881

Show
Ignore:
Timestamp:
10/01/07 11:40:34 (14 months ago)
Author:
asterix
Message:

add node attribute when we reply to the adhoc command list request

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/commands.py

    r8303 r8881  
    289289                jid = helpers.get_full_jid_from_iq(iq_obj) 
    290290                q = iq.getTag('query') 
     291                # buildReply don't copy the node attribute. Re-add it 
     292                q.setAttr('node', xmpp.NS_COMMANDS) 
    291293 
    292294                for node, cmd in self.__commands.iteritems():