[Git][gajim/gajim][master] Dont disco unnecessary server items
Philipp Hörist
gitlab at dev.gajim.org
Mon Jul 23 20:45:04 CEST 2018
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
6c4d9ff4 by Philipp Hörist at 2018-07-23T20:44:57+02:00
Dont disco unnecessary server items
- - - - -
1 changed file:
- gajim/common/modules/discovery.py
Changes:
=====================================
gajim/common/modules/discovery.py
=====================================
--- a/gajim/common/modules/discovery.py
+++ b/gajim/common/modules/discovery.py
@@ -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)
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/6c4d9ff4c79fb1f11afbfa772d0aee65c1459796
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/6c4d9ff4c79fb1f11afbfa772d0aee65c1459796
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20180723/89fbeeb2/attachment-0001.html>
More information about the Commits
mailing list