Commit f942e2c7 authored by Andrey Gursky's avatar Andrey Gursky

Fix receipts for chat

This is a regression from e3050697
parent e70ea74f
Pipeline #2726 passed with stages
in 4 minutes and 1 second
......@@ -78,7 +78,7 @@ class Receipts:
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
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