clicking 'Show' on biboumi group chat invitations causes error
Versions:
- OS: Ubuntu 23.04 23.04 (lunar)
- GTK Version: 3.24.37
- PyGObject Version: 3.44.1
- GLib Version : 2.76.0
- libsoup Version: 3.4.0
- python-nbxmpp Version: 4.3.1
- Gajim Version: 1.8.0
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/notification_manager.py", line 484, in _on_show_invitation
open_window('GroupChatInvitation',
File "/usr/lib/python3/dist-packages/gajim/gtk/util.py", line 713, in open_window
window = window_cls(**kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/gajim/gtk/groupchat_invitation.py", line 58, in __init__
assert isinstance(contact, BareContact)
AssertionError
Steps to reproduce the problem
- try to join a chat via a bimoubi bridge that will redirect the user to a different chat. For example, ##chat at libera.chat. When this channel is full, I believe it attempts to join the user to ##chat-overflow, which causes biboumi to send a group chat invitation to join ##chat-overflow.
- click on 'Show' on the group chat invitation and an error occurs