Skip to content

Commit

Permalink
Room call is an underride, not an override. (#3185)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Mar 3, 2023
1 parent 585ce07 commit c894d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/pushprocessor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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,
});
});
Expand Down

0 comments on commit c894d09

Please sign in to comment.