Philipp Hörist pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/disco.py
    ... ... @@ -405,6 +405,10 @@ class ServicesCache:
    405 405
             Callback for when we receive an agent's info
    
    406 406
             array is (agent, node, identities, features, data)
    
    407 407
             """
    
    408
    +        if not identities:
    
    409
    +            # Ejabberd doesn't send identities when using admin nodes
    
    410
    +            identities = [{'category': 'server', 'type': 'im', 'name': node}]
    
    411
    +
    
    408 412
             self._on_agent_info(str(from_), node, identities, features, data)
    
    409 413
     
    
    410 414
         def _disco_info_error(self, from_, error):