Commit 4b6e641c authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Fix decrypting carbons

parent cdb88717
......@@ -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())
......
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