Can't create muc: AttributeError: 'NoneType' object has no attribute 'supports'
Versions
- OS: macOS 10.14.1
- Gajim version: 3f2e3c6b (current master)
- GTK version: 3.22.30
- Python-nbxmpp version: 5c6c045a204444ae258179d52f270613f52ceadb (current master)
Steps to reproduce the problem
- Try to join muc (tested via accounts -> join group chat)
- Click Join
- Visually nothing happens, only a traceback in stdout
Expected behavior
Muc is created / joined.
Actual behavior
Traceback (most recent call last):
File "/Users/user/Applications/Gajim.app/Contents/MacOS/gajim/gtk/join_groupchat.py", line 218, in _on_join_clicked
app.interface.join_gc_room(account, self.room_jid, nickname, '')
File "/Users/user/Applications/Gajim.app/Contents/MacOS/gajim/gui_interface.py", line 1901, in join_gc_room
self.roster.on_groupchat_maximized(None, room_jid, account)
File "/Users/user/Applications/Gajim.app/Contents/MacOS/gajim/roster_window.py", line 3145, in on_groupchat_maximized
ctrl.on_groupchat_maximize()
File "/Users/user/Applications/Gajim.app/Contents/MacOS/gajim/groupchat_control.py", line 709, in on_groupchat_maximize
self.add_actions()
File "/Users/user/Applications/Gajim.app/Contents/MacOS/gajim/groupchat_control.py", line 395, in add_actions
archive_info)
File "/Users/user/Applications/Gajim.app/Contents/MacOS/gajim/common/helpers.py", line 1454, in get_sync_threshold
if muc_caps_cache.supports(jid, 'muc#roomconfig_membersonly'):
AttributeError: 'NoneType' object has no attribute 'supports'