Starting chat with a contact fails with KeyError: 'mood'
Versions
- OS: Arch Linux
- GTK+ Version: 3.24.3
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.9
- Gajim Version: 1.1.1
Traceback
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/gajim/gui_interface.py", line 2072, in on_open_chat_window
session=session)
File "/usr/lib/python3.7/site-packages/gajim/gui_interface.py", line 2014, in new_chat
chat_control = ChatControl(mw, contact, account, session, resource)
File "/usr/lib/python3.7/site-packages/gajim/chat_control.py", line 133, in __init__
self.update_all_pep_types()
File "/usr/lib/python3.7/site-packages/gajim/chat_control.py", line 409, in update_all_pep_types
self.update_pep(pep_type)
File "/usr/lib/python3.7/site-packages/gajim/chat_control.py", line 419, in update_pep
img.set_from_pixbuf(gtkgui_helpers.get_pep_as_pixbuf(pep[pep_type]))
File "/usr/lib/python3.7/site-packages/gajim/gtkgui_helpers.py", line 547, in get_pep_as_pixbuf
received_mood = pep_class.data['mood']
KeyError: 'mood'
Steps to reproduce the problem
- start gajim
- connect with account
- try to start a chat with a contact running Pidgin 2.11.0 (libpurple 2.11.0)
Expected behavior
Chat window (or in my case chat tab) opening for this contact
Actual behavior
Traceback
Additional information
Maybe a duplicate of #9546 (closed), since it happens with the exact same contact only.