xep_0384: Fix issue when loading session
Slixmpp was never able to load the session as ids would mismatch, thus unable to decrypt incoming messages. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
4b51f117bb
commit
23ac4a5bff
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ class XEP_0384(BasePlugin):
|
|||
payload = b64dec(msg['omemo_encrypted']['payload']['value'])
|
||||
|
||||
jid = msg['from'].bare
|
||||
sid = header['sid']
|
||||
sid = int(header['sid'])
|
||||
|
||||
key = header.xml.find("{%s}key[@rid='%s']" % (
|
||||
OMEMO_BASE_NS, self._device_id))
|
||||
|
|
Loading…
Reference in a new issue