Fix loading cached disco identity data.
This commit is contained in:
parent
6997261c6b
commit
b92ae706e9
1 changed files with 0 additions and 5 deletions
|
@ -182,11 +182,6 @@ class StaticDisco(object):
|
|||
data = {'local': data.get('local', False),
|
||||
'cached': data.get('cached', True)}
|
||||
|
||||
if node in (None, ''):
|
||||
info = self.caps.get_caps(jid)
|
||||
if info and identity in info['identities']:
|
||||
return True
|
||||
|
||||
try:
|
||||
info = self.disco.get_info(jid=jid, node=node,
|
||||
ifrom=ifrom, **data)
|
||||
|
|
Loading…
Reference in a new issue