Crash when inviting user when not connected to internet
Versions:
- OS: Debian GNU/Linux bookworm/sid n/a (bookworm)
- GTK Version: 3.24.34
- PyGObject Version: 3.42.2
- GLib Version : 2.74.0
- python-nbxmpp Version: 3.2.3
- Gajim Version: 1.5.1
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/chat_function_page.py", line 211, in _on_confirm_clicked
self._invite(JID.from_string(jid))
File "/usr/lib/python3/dist-packages/gajim/gtk/chat_function_page.py", line 297, in _invite
client.get_module('MUC').invite(
File "/usr/lib/python3/dist-packages/gajim/common/modules/muc.py", line 1105, in invite
self.set_affiliation(
TypeError: 'NoneType' object is not callable
Steps to reproduce the problem
invite a contact to an muc when not connected to internet ...