mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 00:52:49 +02:00
fix(space-upgrades): Incorrectly updated parent children events
This commit is contained in:
parent
38301980e0
commit
390c1ab18e
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ pub(crate) async fn upgrade_room_route(
|
||||||
PduBuilder {
|
PduBuilder {
|
||||||
event_type: StateEventType::SpaceChild.into(),
|
event_type: StateEventType::SpaceChild.into(),
|
||||||
content: to_raw_value(&child).expect("event is valid, we just created it"),
|
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()
|
..Default::default()
|
||||||
},
|
},
|
||||||
sender_user,
|
sender_user,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue