Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b0697272 by Daniel Brötzmann at 2019-07-03T13:09:53Z
Get identity category and type correctly
- - - - -
1 changed file:
- gajim/common/caps_cache.py
Changes:
=====================================
gajim/common/caps_cache.py
=====================================
@@ -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):
"""
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b0697272d5d4cbba97a1bd567c608ac73f…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b0697272d5d4cbba97a1bd567c608ac73f…
You're receiving this email because of your account on dev.gajim.org.