Adapt to nbxmpp changes

This commit is contained in:
lovetox
2021-03-03 22:15:13 +01:00
parent 18c96e6244
commit 1cd530876a
4 changed files with 5 additions and 5 deletions

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)