Changeset 8207

Show
Ignore:
Timestamp:
06/03/07 16:04:36 (18 months ago)
Author:
asterix
Message:

[elghinn] fix disco#items without node

Files:
1 modified

Legend:

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

    r8206 r8207  
    701701                gajim.log.debug('DiscoverItemsGetCB') 
    702702                node = iq_obj.getTagAttr('query', 'node') 
     703                if node is None: 
     704                        result = iq_obj.buildReply('result') 
     705                        self.connection.send(result) 
     706                        raise common.xmpp.NodeProcessed 
    703707                if node==common.xmpp.NS_COMMANDS: 
    704708                        self.commandListQuery(con, iq_obj)