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 <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>
This commit is contained in:
Michael Telatynski 2024-05-09 15:11:11 +01:00 committed by GitHub
parent 706c4b7101
commit 3109b97fd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
});
@ -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,
});