[omemo] Fix decrypting carbons

This commit is contained in:
Philipp Hörist
2018-12-22 23:43:43 +01:00
parent cdb8871761
commit 4b6e641c7c

View File

@@ -263,8 +263,8 @@ class OMEMOConnection:
log.debug('%s => OMEMO msg received', self.account)
if msg.forwarded and msg.sent:
from_jid = str(msg.stanza.getTo()) # why gajim? why?
log.debug('message was forwarded doing magic')
from_jid = self.own_jid
log.debug('Sent Carbon')
else:
from_jid = str(msg.stanza.getFrom())