Discovery window allows to join MUC component
Versions:
- OS: Arch Linux rolling (n/a)
- GTK Version: 3.24.34
- PyGObject Version: 3.42.2
- GLib Version : 2.74.0
- python-nbxmpp Version: 3.2.1
- Gajim Version: 1.4.7
How to reproduce
Open the Discover dialog -> quicksy.im -> chatrooms -> join
Presumably the conferences are closed for other servers so it's fine to fail but Gajim should somehow catch this failure.
On trying this again the main window says (message not localised): "No module is handling this query" and offers to try again. This is also probably misleading for the user.
Traceback
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gajim/gtk/discovery.py", line 1361, in _on_join_button_clicked
app.interface.show_add_join_groupchat(self.account, service)
File "/usr/lib/python3.10/site-packages/gajim/gui_interface.py", line 404, in show_add_join_groupchat
app.window.add_group_chat(account, JID.from_string(jid), select=True)
File "/usr/lib/python3.10/site-packages/gajim/gtk/main.py", line 601, in add_group_chat
self._chat_page.add_chat_for_workspace(workspace_id,
File "/usr/lib/python3.10/site-packages/gajim/gtk/chat_page.py", line 233, in add_chat_for_workspace
self._control_stack.add_group_chat(account, jid)
File "/usr/lib/python3.10/site-packages/gajim/gtk/control_stack.py", line 90, in add_group_chat
control = GroupchatControl(account, jid)
File "/usr/lib/python3.10/site-packages/gajim/gtk/controls/groupchat.py", line 165, in __init__
self._update_avatar()
File "/usr/lib/python3.10/site-packages/gajim/gtk/controls/groupchat.py", line 557, in _update_avatar
surface = self.contact.get_avatar(
File "/usr/lib/python3.10/site-packages/gajim/common/modules/contacts.py", line 600, in get_avatar
return app.app.avatar_storage.get_muc_surface(
File "/usr/lib/python3.10/site-packages/gajim/gtk/avatar.py", line 437, in get_muc_surface
letter = self._generate_letter(name)
File "/usr/lib/python3.10/site-packages/gajim/gtk/avatar.py", line 569, in _generate_letter
for letter in name:
TypeError: 'NoneType' object is not iterable