Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2022-08-14 00:00:30 +0300
committerlovetox <philipp@hoerist.com>2022-08-14 00:00:30 +0300
commit0c95e7c508f801ae9d31b481ba4e975f7ca9c750 (patch)
treeefae860d722e1ddb02000aa8e0db804460e30196
parentd8dfff44ea358fd7f752f29263a7d8b2e601313f (diff)
imprv: Don’t disco MUC participants on presence
-rw-r--r--gajim/common/modules/caps.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gajim/common/modules/caps.py b/gajim/common/modules/caps.py
index 67616620c..6f3a01653 100644
--- a/gajim/common/modules/caps.py
+++ b/gajim/common/modules/caps.py
@@ -111,6 +111,10 @@ class Caps(BaseModule):
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)