summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-09-07 14:34:06 +0100
committerErik Johnston <erik@matrix.org>2022-09-09 15:10:52 +0100
commit88fddf991d69e7b45f865f6bd1f1c0aa6fce3f0c (patch)
tree2ac9a879c8a3a7f035e8904a7585c6cbfd20f8d9
parentNewsfile (diff)
downloadsynapse-88fddf991d69e7b45f865f6bd1f1c0aa6fce3f0c.tar.xz
Fix visibility
-rw-r--r--rust/src/push/base_rules.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/push/base_rules.rs b/rust/src/push/base_rules.rs

index 5148423949..c33c36ee0f 100644 --- a/rust/src/push/base_rules.rs +++ b/rust/src/push/base_rules.rs
@@ -13,25 +13,25 @@ use crate::push::PushRule; use crate::push::SetTweak; use crate::push::TweakValue; -pub(crate) const HIGHLIGHT_ACTION: Action = Action::SetTweak(SetTweak { +const HIGHLIGHT_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("highlight"), value: None, other_keys: Value::Null, }); -pub(crate) const HIGHLIGHT_FALSE_ACTION: Action = Action::SetTweak(SetTweak { +const HIGHLIGHT_FALSE_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("highlight"), value: Some(TweakValue::Other(Value::Bool(false))), other_keys: Value::Null, }); -pub(crate) const SOUND_ACTION: Action = Action::SetTweak(SetTweak { +const SOUND_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("sound"), value: Some(TweakValue::String(Cow::Borrowed("default"))), other_keys: Value::Null, }); -pub(crate) const RING_ACTION: Action = Action::SetTweak(SetTweak { +const RING_ACTION: Action = Action::SetTweak(SetTweak { set_tweak: Cow::Borrowed("sound"), value: Some(TweakValue::String(Cow::Borrowed("ring"))), other_keys: Value::Null,