Reset button for 'Show Joined / Left' setting causes error
Versions:
OS: Ubuntu 22.04.1 LTS 22.04 (jammy)
GTK Version: 3.24.33
PyGObject Version: 3.42.1
GLib Version : 2.71.3
python-nbxmpp Version: 3.2.4
Gajim Version: 1.5.2 , gajim-default-nightly
Traceback
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gajim/gtk/preferences.py", line 403, in _reset_join_left app.settings.set_group_chat_settings('print_join_left', None) File "/usr/lib/python3/dist-packages/gajim/common/settings.py", line 969, in set_group_chat_settings self.set_group_chat_setting(account, jid, setting, value) File "/usr/lib/python3/dist-packages/gajim/common/settings.py", line 917, in set_group_chat_setting client = app.get_client(account) File "/usr/lib/python3/dist-packages/gajim/common/app.py", line 160, in get_client return connections[account]KeyError: 'some.domain12'
Steps to reproduce the problem
go to Preferences > Chats > Group Chats
hit reset button for Show Joined / Left, occurs when on or off
Notes
some.domain above is a domain of a server that I have an account with.
I tried this again with a different profile and the ubuntu crash reporter opened (instead of the gajim one) with the same traceback, except in this, the KeyError referred to a different domain, even though both profiles have both of the referred-to domain accounts.