diff options
Diffstat (limited to 'sleekxmpp/plugins/xep_0030')
-rw-r--r-- | sleekxmpp/plugins/xep_0030/static.py | 5 |
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) |