Update MSC3786 implementation: Check the state_key (#12939)

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner authored and GitHub committed 2022-06-27 20:28:34 +01:00
1 parent 9b683ea80f
commit 1017f09c18
2 files changed
+8 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Update [MSC3786](https://github.com/matrix-org/matrix-spec-proposals/pull/3786) implementation to check `state_key`.
+7 -1
View File
@@ -290,7 +290,13 @@ BASE_APPEND_OVERRIDE_RULES: List[Dict[str, Any]] = [
"key": "type",
"pattern": "m.room.server_acl",
"_cache_key": "_room_server_acl",
}
},
{
"kind": "event_match",
"key": "state_key",
"pattern": "",
"_cache_key": "_room_server_acl_state_key",
},
],
"actions": [],
},