Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 3109b97

Browse files
authored
Fix beta notifications reconciliation for intentional mentions push rules (#12510)
* Fix beta notifications reconciliation for `.m.rule.is_room_mention` Signed-off-by: Michael Telatynski <[email protected]> * Same fix for `.m.rule.is_user_mention` Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]>
1 parent 706c4b7 commit 3109b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/models/notificationsettings/reconcileNotificationSettings.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function toStandardRules(
107107
if (supportsIntentionalMentions) {
108108
standardRules.set(RuleId.IsUserMention, {
109109
rule_id: RuleId.IsUserMention,
110-
kind: PushRuleKind.ContentSpecific,
110+
kind: PushRuleKind.Override,
111111
enabled: true,
112112
actions: userMentionActions,
113113
});
@@ -129,7 +129,7 @@ function toStandardRules(
129129
if (supportsIntentionalMentions) {
130130
standardRules.set(RuleId.IsRoomMention, {
131131
rule_id: RuleId.IsRoomMention,
132-
kind: PushRuleKind.ContentSpecific,
132+
kind: PushRuleKind.Override,
133133
enabled: true,
134134
actions: roomMentionActions,
135135
});

0 commit comments

Comments
 (0)