Skip to content

Commit

Permalink
Fix beta notifications reconciliation for intentional mentions push r…
Browse files Browse the repository at this point in the history
…ules (matrix-org#12510)

* Fix beta notifications reconciliation for `.m.rule.is_room_mention`

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Same fix for `.m.rule.is_user_mention`

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
t3chguy committed May 9, 2024
1 parent 706c4b7 commit 3109b97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function toStandardRules(
if (supportsIntentionalMentions) {
standardRules.set(RuleId.IsUserMention, {
rule_id: RuleId.IsUserMention,
kind: PushRuleKind.ContentSpecific,
kind: PushRuleKind.Override,
enabled: true,
actions: userMentionActions,
});
Expand All @@ -129,7 +129,7 @@ function toStandardRules(
if (supportsIntentionalMentions) {
standardRules.set(RuleId.IsRoomMention, {
rule_id: RuleId.IsRoomMention,
kind: PushRuleKind.ContentSpecific,
kind: PushRuleKind.Override,
enabled: true,
actions: roomMentionActions,
});
Expand Down

0 comments on commit 3109b97

Please sign in to comment.