Commit 6c4d9ff4 authored by Philipp Hörist's avatar Philipp Hörist

Dont disco unnecessary server items

parent ea34959b
......@@ -146,6 +146,9 @@ class Discovery:
def _server_items_received(self, from_, node, items):
log.info('Server items received')
for item in items:
if 'node' in item:
# Only disco components
continue
self.disco_info(item['jid'],
success_cb=self._server_items_info_received)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment