Dont disco unnecessary server items
This commit is contained in:
parent
ea34959b35
commit
6c4d9ff4c7
|
@ -146,6 +146,9 @@ class Discovery:
|
||||||
def _server_items_received(self, from_, node, items):
|
def _server_items_received(self, from_, node, items):
|
||||||
log.info('Server items received')
|
log.info('Server items received')
|
||||||
for item in items:
|
for item in items:
|
||||||
|
if 'node' in item:
|
||||||
|
# Only disco components
|
||||||
|
continue
|
||||||
self.disco_info(item['jid'],
|
self.disco_info(item['jid'],
|
||||||
success_cb=self._server_items_info_received)
|
success_cb=self._server_items_info_received)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue