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

Commits:
f942e2c7 by Andrey Gursky at 2018-11-27T01:17:25Z
Fix receipts for chat

This is a regression from e3050697

- - - - -


1 changed file:

- gajim/common/modules/receipts.py


Changes:

=====================================
gajim/common/modules/receipts.py
=====================================
@@ -78,7 +78,7 @@ class Receipts:
                                                event.resource)
 
         contact = app.contacts.get_contact(self._account, event.jid)
-        if contact is None and contact.sub not in ('to', 'none'):
+        if contact is not None and contact.sub not in ('to', 'none'):
             return contact
 
     @staticmethod



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/f942e2c70faf2229a59a24b8293712ac7916337a
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