mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
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:
parent
706c4b7101
commit
3109b97fd3
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue