summary refs log tree commit diff
path: root/rust/src
diff options
context:
space:
mode:
authorV02460 <V02460@gmail.com>2023-10-06 12:27:59 +0200
committerGitHub <noreply@github.com>2023-10-06 11:27:59 +0100
commit5946074d69314226343a0727f24e3aa9616aa1f6 (patch)
tree7f10028cb64dde3f64184c08111845ef6619f5b2 /rust/src
parentRemove unused method. (#16435) (diff)
downloadsynapse-5946074d69314226343a0727f24e3aa9616aa1f6.tar.xz
Bump pyo3 from 0.17.1 to 0.19.2 (#16162)
Signed-off-by: Kai A. Hiller <V02460@gmail.com>
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,