Commit 1336c618 authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Pass cleaned up stanza to callback Fixes #218

parent ad109f5f
......@@ -686,6 +686,7 @@ class OmemoPlugin(GajimPlugin):
plaintext = event.msg_iq.getBody().encode('utf8')
self.cleanup_stanza(event)
event._cb_parameters['msg_iq'] = event.msg_iq
msg_dict = state.create_msg(
gajim.get_jid_from_account(account), to_jid, plaintext)
......
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