Commit 0acfc4c8 authored by Philipp Hörist's avatar Philipp Hörist

MAM: Correctly detect if we sent a message

properties.jid always yields the remote JID now after nbxmpp changes
parent a4945d26
......@@ -96,7 +96,7 @@ class MAM(BaseModule):
if properties.is_muc_pm:
return properties.mam.id, properties.id
if self._con.get_own_jid().bareMatch(properties.jid):
if self._con.get_own_jid().bareMatch(properties.from_):
# message we sent
return properties.mam.id, properties.id
......
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