Crash on double click on username (group chat)
Versions:
- OS: Linux 5.4.0-113-generic
- GTK Version: 3.24.34
- PyGObject Version: 3.42.1
- GLib Version : 2.72.1
- python-nbxmpp Version: 3.0.2
- Gajim Version: 1.4.2
Traceback
Traceback (most recent call last):
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/groupchat.py", line 542, in _on_roster_row_activated
app.window.add_private_chat(self.account, contact.jid, select=True)
File "/app/lib/python3.9/site-packages/gajim/gtk/main.py", line 588, in add_private_chat
self._chat_page.add_chat_for_workspace(workspace_id,
File "/app/lib/python3.9/site-packages/gajim/gtk/chat_page.py", line 236, in add_chat_for_workspace
self._chat_stack.add_private_chat(account, jid)
File "/app/lib/python3.9/site-packages/gajim/gtk/chat_stack.py", line 96, in add_private_chat
control = PrivateChatControl(account, jid)
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/private.py", line 59, in __init__
ChatControl.__init__(self, account, jid)
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/chat.py", line 127, in __init__
self.update_ui()
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/private.py", line 185, in update_ui
ChatControl.update_ui(self)
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/chat.py", line 463, in update_ui
self.update_actions()
File "/app/lib/python3.9/site-packages/gajim/gtk/controls/chat.py", line 201, in update_actions
online and self.contact.supports_audio()
AttributeError: 'GroupchatParticipant' object has no attribute 'supports_audio'
Steps to reproduce the problem
In a group chat, I've double clicked on a username in the right panel which shows all the users in the chat.