summary refs log tree commit diff
path: root/rust/src
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2023-10-17 11:56:14 -0400
committerPatrick Cloke <patrickc@matrix.org>2023-10-17 11:56:14 -0400
commit07b3b9a95e979c0125d069b8841fd7ce4917e559 (patch)
treef4c9e521e2cd0ab54b03282032a44e6d007b1cb0 /rust/src
parentRevert "TEMPORARY Measure and log test cases" (diff)
parent1.95.0rc1 (diff)
downloadsynapse-07b3b9a95e979c0125d069b8841fd7ce4917e559.tar.xz
Merge branch 'release-v1.95' into matrix-org-hotfixes
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/push/evaluator.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/rust/src/push/evaluator.rs b/rust/src/push/evaluator.rs

index 48e670478b..3bde075528 100644 --- a/rust/src/push/evaluator.rs +++ b/rust/src/push/evaluator.rs
@@ -105,6 +105,17 @@ impl PushRuleEvaluator { /// Create a new `PushRuleEvaluator`. See struct docstring for details. #[allow(clippy::too_many_arguments)] #[new] + #[pyo3(signature = ( + flattened_keys, + has_mentions, + room_member_count, + sender_power_level, + notification_power_levels, + related_events_flattened, + related_event_match_enabled, + room_version_feature_flags, + msc3931_enabled, + ))] pub fn py_new( flattened_keys: BTreeMap<String, JsonValue>, has_mentions: bool,