Commit 0745796e authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Adapt to Gajim changes

parent 11a2dacd
...@@ -347,10 +347,9 @@ class OMEMO(BaseModule): ...@@ -347,10 +347,9 @@ class OMEMO(BaseModule):
return contact.sub == 'both' return contact.sub == 'both'
def on_muc_config_changed(self, event): def on_muc_config_changed(self, event):
room = event.jid.getBare()
status_codes = event.status_codes or [] status_codes = event.status_codes or []
if StatusCode.CONFIG_NON_ANONYMOUS in status_codes: if StatusCode.CONFIG_NON_ANONYMOUS in status_codes:
self._omemo_groupchats.add(room) self._omemo_groupchats.add(event.room_jid)'Room config change: non-anonymous')'Room config change: non-anonymous')
def _check_for_missing_sessions(self, jid): def _check_for_missing_sessions(self, jid):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment