Philipp Hörist pushed to branch master at gajim / gajim


Commits:
0acfc4c8 by Philipp Hörist at 2019-10-18T21:01:28Z
MAM: Correctly detect if we sent a message

properties.jid always yields the remote JID now after nbxmpp changes

- - - - -


1 changed file:

- gajim/common/modules/mam.py


Changes:

=====================================
gajim/common/modules/mam.py
=====================================
@@ -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
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/0acfc4c8087c731296a49e3cd4c489ee09604b92

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/0acfc4c8087c731296a49e3cd4c489ee09604b92
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to