summary refs log tree commit diff
path: root/stubs/synapse
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-10-04 07:08:27 -0400
committerGitHub <noreply@github.com>2022-10-04 07:08:27 -0400
commite70c6b720ed537c0b7fc0cd4aa20eac195941d73 (patch)
tree72150316ef07b8daec001a6b2435f4f1a72a28ef /stubs/synapse
parentSend the appservice access token as a header. (#13996) (diff)
downloadsynapse-e70c6b720ed537c0b7fc0cd4aa20eac195941d73.tar.xz
Disable pushing for server ACL events (MSC3786). (#13997)
Switches to the stable identifier for MSC3786 and enables it
by default.

This disables pushes of m.room.server_acl events.
Diffstat (limited to 'stubs/synapse')
-rw-r--r--stubs/synapse/synapse_rust/push.pyi6
1 files changed, 1 insertions, 5 deletions
diff --git a/stubs/synapse/synapse_rust/push.pyi b/stubs/synapse/synapse_rust/push.pyi
index fffb8419c6..5900e61450 100644
--- a/stubs/synapse/synapse_rust/push.pyi
+++ b/stubs/synapse/synapse_rust/push.pyi
@@ -26,11 +26,7 @@ class PushRules:
 
 class FilteredPushRules:
     def __init__(
-        self,
-        push_rules: PushRules,
-        enabled_map: Dict[str, bool],
-        msc3786_enabled: bool,
-        msc3772_enabled: bool,
+        self, push_rules: PushRules, enabled_map: Dict[str, bool], msc3772_enabled: bool
     ): ...
     def rules(self) -> Collection[Tuple[PushRule, bool]]: ...