summary refs log tree commit diff
path: root/stubs/synapse/synapse_rust/push.pyi
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-02-03 11:28:20 -0500
committerGitHub <noreply@github.com>2023-02-03 16:28:20 +0000
commit52700a0bcf2caaa792b94e2a8c12f29d1c61b91e (patch)
tree9ddf04547dcd388922331e2a1bead57e63c376c3 /stubs/synapse/synapse_rust/push.pyi
parentFaster joins: Refactor handling of servers in room (#14954) (diff)
downloadsynapse-52700a0bcf2caaa792b94e2a8c12f29d1c61b91e.tar.xz
Support the backwards compatibility features in MSC3952. (#14958)
If the feature is enabled and the event has a `m.mentions` property,
skip processing of the legacy mentions rules.
Diffstat (limited to 'stubs/synapse/synapse_rust/push.pyi')
-rw-r--r--stubs/synapse/synapse_rust/push.pyi1
1 files changed, 1 insertions, 0 deletions
diff --git a/stubs/synapse/synapse_rust/push.pyi b/stubs/synapse/synapse_rust/push.pyi
index 588d90c25a..c0af2af3df 100644
--- a/stubs/synapse/synapse_rust/push.pyi
+++ b/stubs/synapse/synapse_rust/push.pyi
@@ -56,6 +56,7 @@ class PushRuleEvaluator:
     def __init__(
         self,
         flattened_keys: Mapping[str, str],
+        has_mentions: bool,
         user_mentions: Set[str],
         room_mention: bool,
         room_member_count: int,