fix(space-upgrades): Incorrectly updated parent children events

This commit is contained in:
nexy7574 2025-07-19 15:28:26 +01:00
commit 390c1ab18e
No known key found for this signature in database
GPG key ID: 0FA334385D0B689F

View file

@ -363,7 +363,7 @@ pub(crate) async fn upgrade_room_route(
PduBuilder {
event_type: StateEventType::SpaceChild.into(),
content: to_raw_value(&child).expect("event is valid, we just created it"),
state_key: Some(&replacement_room.as_str().into()),
state_key: Some(replacement_room.as_str().into()),
..Default::default()
},
sender_user,