Assertion error when being mentioned in a MUC
Versions
- OS: Arch Linux
- Gajim version: 1.8.1
- GTK version: 3.24.38
- Python-nbxmpp version: 4.3.2
Steps to reproduce the problem
- Be mentioned in a MUC
Expected behavior
Actual behavior
(E) gajim.c.ged Error while running an event handler: <bound method NotificationBackend._on_notification of <gajim.gtk.notification.Linux object at 0x7f118b6e7610>>
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/gajim/common/ged.py", line 100, in raise_event
if handler(event_obj):
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gajim/gtk/notification.py", line 109, in _on_notification
self._send(event)
File "/usr/lib/python3.11/site-packages/gajim/gtk/notification.py", line 345, in _send
icon = self._make_icon(event)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gajim/gtk/notification.py", line 399, in _make_icon
return _get_avatar_for_notification(event.account, event.jid)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/gajim/gtk/notification.py", line 427, in _get_avatar_for_notification
assert isinstance(contact, BareContact | GroupchatParticipant)
AssertionError