Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Update MSC3786 implementation: Check the state_key #12939

Merged
merged 4 commits into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/12939.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MSC3786: Check `state_key`.
SimonBrandner marked this conversation as resolved.
Show resolved Hide resolved
8 changes: 7 additions & 1 deletion synapse/push/baserules.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,13 @@ def make_base_prepend_rules(
"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": [],
},
Expand Down