Commit d4b9b496 authored by Yann Leboulanger's avatar Yann Leboulanger

Merge branch 'master' of

parents 4a979948 b0697272
......@@ -80,8 +80,8 @@ def get_client_identity(client_caps):
cache_item = lookup_item(capscache)
for identity in cache_item.identities:
if identity.get('category') == 'client':
return identity.get('type')
if identity.category == 'client':
return identity.type
def create_suitable_client_caps(node, caps_hash, hash_method, fjid=None):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment