You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Update MSC3786 implementation: Check the state_key
(#2429)
This commit is contained in:
@@ -302,6 +302,7 @@ describe('NotificationService', function() {
|
||||
type: EventType.RoomServerAcl,
|
||||
room: testRoomId,
|
||||
user: "@alfred:localhost",
|
||||
skey: "",
|
||||
event: true,
|
||||
content: {},
|
||||
});
|
||||
|
@@ -83,6 +83,11 @@ const DEFAULT_OVERRIDE_RULES: IPushRule[] = [
|
||||
key: "type",
|
||||
pattern: EventType.RoomServerAcl,
|
||||
},
|
||||
{
|
||||
kind: ConditionKind.EventMatch,
|
||||
key: "state_key",
|
||||
pattern: "",
|
||||
},
|
||||
],
|
||||
actions: [],
|
||||
},
|
||||
|
Reference in New Issue
Block a user