Convert jid to str before passing in decrypt_message

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-09-02 02:17:19 +02:00
parent e893e6aeec
commit 62b6037611
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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']" % (