From f0630474ab94a9954ab6a0137973e82c0a5979fd Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 2 Mar 2023 13:28:31 -0500 Subject: [PATCH] Room call is an underride, not an override. --- spec/unit/pushprocessor.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/unit/pushprocessor.spec.ts b/spec/unit/pushprocessor.spec.ts index 6fb02b18155..e1d12a2171a 100644 --- a/spec/unit/pushprocessor.spec.ts +++ b/spec/unit/pushprocessor.spec.ts @@ -180,11 +180,11 @@ describe("NotificationService", function () { enabled: true, rule_id: ".m.rule.room_one_to_one", }, - msc3914RoomCallRule, ], room: [], sender: [], underride: [ + msc3914RoomCallRule, { actions: ["dont-notify"], conditions: [ @@ -569,7 +569,7 @@ describe("NotificationService", function () { it("returns push rule when it is found in rule set", () => { expect(pushProcessor.getPushRuleAndKindById(".org.matrix.msc3914.rule.room.call")).toEqual({ - kind: "override", + kind: "underride", rule: msc3914RoomCallRule, }); });