diff --git a/spec/unit/pushprocessor.spec.js b/spec/unit/pushprocessor.spec.js index df7666d5cd3..0fab43d07fa 100644 --- a/spec/unit/pushprocessor.spec.js +++ b/spec/unit/pushprocessor.spec.js @@ -302,6 +302,7 @@ describe('NotificationService', function() { type: EventType.RoomServerAcl, room: testRoomId, user: "@alfred:localhost", + skey: "", event: true, content: {}, }); diff --git a/src/pushprocessor.ts b/src/pushprocessor.ts index 448015203d6..950f395b7ed 100644 --- a/src/pushprocessor.ts +++ b/src/pushprocessor.ts @@ -83,6 +83,11 @@ const DEFAULT_OVERRIDE_RULES: IPushRule[] = [ key: "type", pattern: EventType.RoomServerAcl, }, + { + kind: ConditionKind.EventMatch, + key: "state_key", + pattern: "", + }, ], actions: [], },