Fix redactions for aliases events
This commit is contained in:
parent
e843ccdb90
commit
5eec262130
@ -9,3 +9,4 @@ Breaking changes:
|
|||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
* Verify only the required signatures on `verify_event`
|
* Verify only the required signatures on `verify_event`
|
||||||
|
* Fix redactions for aliases events
|
||||||
|
@ -58,7 +58,7 @@ fn allowed_content_keys_for(event_type: &str, version: &RoomVersionId) -> &'stat
|
|||||||
| RoomVersionId::Version2
|
| RoomVersionId::Version2
|
||||||
| RoomVersionId::Version3
|
| RoomVersionId::Version3
|
||||||
| RoomVersionId::Version4
|
| RoomVersionId::Version4
|
||||||
| RoomVersionId::Version5 => &["join_rule"],
|
| RoomVersionId::Version5 => &["aliases"],
|
||||||
// All other room versions, including custom ones, are treated by version 6 rules.
|
// All other room versions, including custom ones, are treated by version 6 rules.
|
||||||
// TODO: Should we return an error for unknown versions instead?
|
// TODO: Should we return an error for unknown versions instead?
|
||||||
_ => &[],
|
_ => &[],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user