Skip to content
Snippets Groups Projects
Commit 03a482f1 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

EntityCaps: Add None check

parent 5fe921af
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,9 @@ def _entity_caps(self, _con, _stanza, properties):
if properties.is_self_presence:
return
if properties.entity_caps is None:
return
jid = str(properties.jid)
hash_method = properties.entity_caps.hash
......
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