diff options
author | Travis Ralston <travisr@matrix.org> | 2022-11-28 18:02:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 18:02:41 -0700 |
commit | 9ccc09fe9e332a71b8cf5bf42b16f6acf5a6887d (patch) | |
tree | 2fd03d66046efdd5592ea77bfc27b119e7a52705 /stubs/synapse/synapse_rust/push.pyi | |
parent | Create MSC1767 (extensible events) room version; Implement MSC3932 (#14521) (diff) | |
download | synapse-9ccc09fe9e332a71b8cf5bf42b16f6acf5a6887d.tar.xz |
Support MSC1767's `content.body` behaviour; Add base rules from MSC3933 (#14524)
* Support MSC1767's `content.body` behaviour in push rules * Add the base rules from MSC3933 * Changelog entry * Flip condition around for finding `m.markup` * Remove forgotten import
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 cbeb49663c..a6a586a0b5 100644 --- a/stubs/synapse/synapse_rust/push.pyi +++ b/stubs/synapse/synapse_rust/push.pyi @@ -26,7 +26,11 @@ class PushRules: class FilteredPushRules: def __init__( - self, push_rules: PushRules, enabled_map: Dict[str, bool], msc3664_enabled: bool + self, + push_rules: PushRules, + enabled_map: Dict[str, bool], + msc3664_enabled: bool, + msc1767_enabled: bool, ): ... def rules(self) -> Collection[Tuple[PushRule, bool]]: ... |