Convert jid to str before passing in decrypt_message

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent e893e6ae
......@@ -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']" % (
......
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