fix receiving encrypted messages. fixes #5982
This commit is contained in:
parent
3cd28113f4
commit
6700307846
|
@ -1412,7 +1412,7 @@ ConnectionJingle, ConnectionIBBytestream):
|
|||
return
|
||||
if obj.encrypted == 'xep200':
|
||||
try:
|
||||
obj.stanza = self.session.decrypt_stanza(obj.stanza)
|
||||
obj.stanza = obj.session.decrypt_stanza(obj.stanza)
|
||||
obj.msgtxt = obj.stanza.getBody()
|
||||
except Exception:
|
||||
self.dispatch('FAILED_DECRYPT', (obj.fjid, obj.timestamp,
|
||||
|
|
Loading…
Reference in New Issue