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,
|
type: EventType.RoomServerAcl,
|
||||||
room: testRoomId,
|
room: testRoomId,
|
||||||
user: "@alfred:localhost",
|
user: "@alfred:localhost",
|
||||||
|
skey: "",
|
||||||
event: true,
|
event: true,
|
||||||
content: {},
|
content: {},
|
||||||
});
|
});
|
||||||
|
@@ -83,6 +83,11 @@ const DEFAULT_OVERRIDE_RULES: IPushRule[] = [
|
|||||||
key: "type",
|
key: "type",
|
||||||
pattern: EventType.RoomServerAcl,
|
pattern: EventType.RoomServerAcl,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
kind: ConditionKind.EventMatch,
|
||||||
|
key: "state_key",
|
||||||
|
pattern: "",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
actions: [],
|
actions: [],
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user