Philipp Hörist pushed to branch master at gajim / gajim


Commits:
0c95e7c5 by lovetox at 2022-08-13T23:00:30+02:00
imprv: Don’t disco MUC participants on presence

- - - - -


1 changed file:

- gajim/common/modules/caps.py


Changes:

=====================================
gajim/common/modules/caps.py
=====================================
@@ -111,6 +111,10 @@ def _entity_caps(self,
         if properties.entity_caps is None:
             return
 
+        if properties.muc_user is not None:
+            # Don’t query MUC participants
+            return
+
         task = EntityCapsTask(self._account, properties, self._execute_task)
 
         self._log.info('Received %s', task.entity)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/0c95e7c508f801ae9d31b481ba4e975f7ca9c750

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/0c95e7c508f801ae9d31b481ba4e975f7ca9c750
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to