allow all features if a contact has no resource until we fall back to disco query. Fixes #4327
This commit is contained in:
parent
35a9cf5d89
commit
363277cc69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue