diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index 1bf170b..3c64855 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -423,7 +423,7 @@ class XEP_0384(BasePlugin): header = encrypted['header'] payload = b64dec(encrypted['payload']['value']) - jid = sender + jid = sender.bare sid = int(header['sid']) key = header.xml.find("{%s}key[@rid='%s']" % (