Creating a new groupchat fails if there is no network connection
Versions
- OS: Linux
- GTK Version: 3.24.30
- PyGObject Version: 3.42.0
- GLib Version : 2.70.0
- python-nbxmpp Version: 2.0.4
- Gajim Version: 1.3.3
Traceback
Traceback (most recent call last):
File "/app/lib/python3.9/site-packages/gajim/app_actions.py", line 109, in on_create_gc
open_window('CreateGroupchatWindow', account=account or None)
File "/app/lib/python3.9/site-packages/gajim/gtk/util.py", line 823, in open_window
window = window_cls(**kwargs)
File "/app/lib/python3.9/site-packages/gajim/gtk/groupchat_creation.py", line 54, in __init__
self._account = self._fill_account_combo(account)
File "/app/lib/python3.9/site-packages/gajim/gtk/groupchat_creation.py", line 82, in _fill_account_combo
account = accounts[0][0]
IndexError: list index out of range
Steps to reproduce the problem
Try a creation of a groupchat without network connection. A useful error message may be displayed.