Commit 47a4e017 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Adapt to Gajim changes

parent d33c2fbb
...@@ -351,7 +351,7 @@ class OMEMO(BaseModule): ...@@ -351,7 +351,7 @@ class OMEMO(BaseModule):
self.get_affiliation_list(event.room_jid) self.get_affiliation_list(event.room_jid)
def _check_if_omemo_capable(self, jid): def _check_if_omemo_capable(self, jid):
disco_info = app.logger.get_last_disco_info(jid) disco_info =
if disco_info.muc_is_members_only and disco_info.muc_is_nonanonymous: if disco_info.muc_is_members_only and disco_info.muc_is_nonanonymous:'OMEMO room discovered: %s', jid)'OMEMO room discovered: %s', jid)
self._omemo_groupchats.add(jid) self._omemo_groupchats.add(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