don't show empty RIE requests. Fixes #5299

This commit is contained in:
Yann Leboulanger 2009-10-02 14:58:47 +02:00
parent da398aa418
commit 887b8d31b2
1 changed files with 2 additions and 2 deletions

View File

@ -1861,8 +1861,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
exchange_items_list[jid] = []
exchange_items_list[jid].append(name)
exchange_items_list[jid].append(groups)
self.dispatch('ROSTERX', (action, exchange_items_list, jid_from))
if exchange_items_list:
self.dispatch('ROSTERX', (action, exchange_items_list, jid_from))
def _messageCB(self, con, msg):
'''Called when we receive a message'''