Convert jid to str before passing in decrypt_message
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
e893e6aeec
commit
62b6037611
1 changed files with 1 additions and 1 deletions
|
@ -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']" % (
|
||||
|
|
Loading…
Reference in a new issue