diff options
author | DeepBlueV7.X <nicolas.werner@hotmail.de> | 2022-10-25 13:38:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 14:38:01 +0100 |
commit | 2d0ba3f89aaf9545d81c4027500e543ec70b68a6 (patch) | |
tree | a9830a6ea27b82ff04a749dadeafbc49ca7d9e27 /stubs/synapse/synapse_rust/push.pyi | |
parent | Remove unused `@lru_cache` decorator (#13595) (diff) | |
download | synapse-2d0ba3f89aaf9545d81c4027500e543ec70b68a6.tar.xz |
Implementation for MSC3664: Pushrules for relations (#11804)
Diffstat (limited to 'stubs/synapse/synapse_rust/push.pyi')
-rw-r--r-- | stubs/synapse/synapse_rust/push.pyi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/stubs/synapse/synapse_rust/push.pyi b/stubs/synapse/synapse_rust/push.pyi index f2a61df660..f3b6d6c933 100644 --- a/stubs/synapse/synapse_rust/push.pyi +++ b/stubs/synapse/synapse_rust/push.pyi @@ -25,7 +25,9 @@ class PushRules: def rules(self) -> Collection[PushRule]: ... class FilteredPushRules: - def __init__(self, push_rules: PushRules, enabled_map: Dict[str, bool]): ... + def __init__( + self, push_rules: PushRules, enabled_map: Dict[str, bool], msc3664_enabled: bool + ): ... def rules(self) -> Collection[Tuple[PushRule, bool]]: ... def get_base_rule_ids() -> Collection[str]: ... @@ -37,6 +39,8 @@ class PushRuleEvaluator: room_member_count: int, sender_power_level: Optional[int], notification_power_levels: Mapping[str, int], + related_events_flattened: Mapping[str, Mapping[str, str]], + related_event_match_enabled: bool, ): ... def run( self, |