events: change type of state_key field of HierarchySpaceChildEvent to OwnedRoomId
This commit is contained in:
parent
abebde0cf1
commit
1a1c61ee1e
@ -9,6 +9,7 @@ Breaking changes:
|
||||
-`RoomPowerLevels::user_can_redact` is split into `user_can_redact_own_event`
|
||||
and `user_can_redact_event_of_other`,
|
||||
- `PowerLevelAction::Redact` is split into `RedactOwn` and `RedactOther`.
|
||||
- Use `OwnedRoomId` instead of `String` for the `state_key` field of `HierarchySpaceChildEvent`
|
||||
|
||||
Improvements:
|
||||
|
||||
|
@ -63,7 +63,7 @@ pub struct HierarchySpaceChildEvent {
|
||||
pub sender: OwnedUserId,
|
||||
|
||||
/// The room ID of the child.
|
||||
pub state_key: String,
|
||||
pub state_key: OwnedRoomId,
|
||||
|
||||
/// Timestamp in milliseconds on originating homeserver when this event was sent.
|
||||
pub origin_server_ts: MilliSecondsSinceUnixEpoch,
|
||||
|
Loading…
x
Reference in New Issue
Block a user