summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-06-13 09:13:13 -0700
committerLance Stout <lancestout@gmail.com>2012-06-13 09:13:13 -0700
commitb92ae706e98e94dbc329a099a0a9e10b21a379e7 (patch)
tree0197ab50f9dd6cc187d1556b1e3b887dcf0d3568 /sleekxmpp
parent6997261c6b3479260465a6c829a21152f9019b4d (diff)
downloadslixmpp-b92ae706e98e94dbc329a099a0a9e10b21a379e7.tar.gz
slixmpp-b92ae706e98e94dbc329a099a0a9e10b21a379e7.tar.bz2
slixmpp-b92ae706e98e94dbc329a099a0a9e10b21a379e7.tar.xz
slixmpp-b92ae706e98e94dbc329a099a0a9e10b21a379e7.zip
Fix loading cached disco identity data.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/plugins/xep_0030/static.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/sleekxmpp/plugins/xep_0030/static.py b/sleekxmpp/plugins/xep_0030/static.py
index 7306461a..8dd412d4 100644
--- a/sleekxmpp/plugins/xep_0030/static.py
+++ b/sleekxmpp/plugins/xep_0030/static.py
@@ -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)