Merge branch 'master' into develop

This commit is contained in:
Lance Stout
2012-06-13 09:27:47 -07:00
4 changed files with 7 additions and 11 deletions

View File

@@ -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)