Skip to content
Snippets Groups Projects
Commit 363277cc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

allow all features if a contact has no resource until we fall back to disco query. Fixes #4327

parent 35a9cf5d
No related branches found
No related tags found
No related merge requests found
......@@ -193,8 +193,7 @@ class CapsCache(object):
con.discoverInfo(jid, '%s#%s' % (node, hash))
def is_supported(self, contact, feature):
# No resource -> can't have any caps
if not contact or not contact.resource:
if not contact:
return False
# Unfortunately, if all resources are offline, the contact
......
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