Crash when opening details of a (component) roster entry
Versions:
- OS: Linux 5.10.0-13-amd64
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.2
- python-nbxmpp Version: 3.1.0
- Gajim Version: 1.4.5
Traceback
Traceback (most recent call last):
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/chat.py", line 301, in _on_information
app.window.contact_info(self.account, self.contact.jid)
File "/app/lib/python3.9/site-packages/gajim/gtk/main.py", line 748, in contact_info
open_window('ContactInfo', account=account, contact=contact)
File "/app/lib/python3.9/site-packages/gajim/gtk/util.py", line 762, in open_window
window = window_cls(**kwargs)
File "/app/lib/python3.9/site-packages/gajim/gtk/contact_info.py", line 112, in __init__
self._fill_device_info(self.contact)
File "/app/lib/python3.9/site-packages/gajim/gtk/contact_info.py", line 249, in _fill_device_info
device_grid = DeviceGrid(resource_contact)
File "/app/lib/python3.9/site-packages/gajim/gtk/contact_info.py", line 481, in __init__
self._ui.resource_label.set_text(_('Device "%s"') % contact.resource)
File "/app/lib/python3.9/site-packages/gajim/common/modules/contacts.py", line 482, in resource
assert self._jid.resource is not None
AssertionError
Steps to reproduce the problem
...
Try to see the "details" of a roster entry (not a real jid, a gateway: signal.slidge.im)