AttributeError: 'CapsIdentity' object has no attribute 'get'
Please first check if another issue has been opened for your problem
Versions
- OS: Manjaro
- Gajim version: 1.1.92+7ee22d83
- GTK version: 3.24.9
- Python-nbxmpp version: 0.9.91+python-nbxmpp@3946f35b
Steps to reproduce the problem
- Send message to contact (contact offline)
Expected behavior
Message gets sent.
Actual behavior
Error while running an event handler: <bound method ChatControl._on_update_client_info of <gajim.chat_control.ChatControl object at 0x7f3619217b38>>
Traceback (most recent call last):
File "/mnt/Daten/Daten/Projekte/DEV/Gajim/gajim/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/mnt/Daten/Daten/Projekte/DEV/Gajim/gajim/gajim/gtk/util.py", line 540, in func_wrapper
return func(self, event)
File "/mnt/Daten/Daten/Projekte/DEV/Gajim/gajim/gajim/chat_control.py", line 493, in _on_update_client_info
self.xml.get_object('phone_image').set_visible(contact.uses_phone)
File "/mnt/Daten/Daten/Projekte/DEV/Gajim/gajim/gajim/common/contacts.py", line 136, in uses_phone
return caps_cache.get_client_identity(self.client_caps) == 'phone'
File "/mnt/Daten/Daten/Projekte/DEV/Gajim/gajim/gajim/common/caps_cache.py", line 83, in get_client_identity
if identity.get('category') == 'client':
AttributeError: 'CapsIdentity' object has no attribute 'get'