Skip to content
Snippets Groups Projects
Commit 1b5272c8 authored by Andrey Gursky's avatar Andrey Gursky Committed by Philipp Hörist
Browse files

Fix receipts for chat

This is a regression from e3050697
parent 9d6fac69
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment