Adapt to nbxmpp changes

This commit is contained in:
lovetox committed 2021-03-03 22:17:05 +01:00
1 parent 18c96e6244
commit 1cd530876a
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ class OMEMO(BaseModule):
contact = app.contacts.get_gc_contact(self._account, room_jid, resource)
if contact is not None:
return JID(contact.jid).bare
return JID.from_string(contact.jid).bare
self._log.info('Groupchat: Last resort trying to find SID in DB')
from_jid = self.backend.storage.getJidFromDevice(properties.omemo.sid)