From b92ae706e98e94dbc329a099a0a9e10b21a379e7 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 13 Jun 2012 09:13:13 -0700 Subject: Fix loading cached disco identity data. --- sleekxmpp/plugins/xep_0030/static.py | 5 ----- 1 file changed, 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) -- cgit v1.2.3