0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-10 06:38:55 +02:00

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 2022-06-27 21:28:34 +02:00 committed by GitHub
parent 9b683ea80f
commit 1017f09c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

1
changelog.d/12939.bugfix Normal file
View file

@ -0,0 +1 @@
Update [MSC3786](https://github.com/matrix-org/matrix-spec-proposals/pull/3786) implementation to check `state_key`.

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": [],
},