Commit b0a43e69 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Parse bare jid from MUC MAM Messages

parent d97bd2ca
......@@ -6,6 +6,7 @@ import sqlite3
import nbxmpp
from nbxmpp.simplexml import Node
from nbxmpp import JID
from gajim.common import app
from gajim.common import ged
......@@ -187,7 +188,7 @@ class OMEMOConnection:
log.info('%s => Groupchat Message received', self.account)
msg_dict = unpack_encrypted(omemo)
msg_dict['sender_jid'] = msg.real_jid
msg_dict['sender_jid'] = JID(msg.real_jid).getStripped()
plaintext = self.omemo.decrypt_msg(msg_dict)
......
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