feat(space-upgrades): Skip empty state events in room upgrade

This commit is contained in:
nexy7574
2025-07-19 15:41:36 +01:00
committed by Jade Ellis
parent f063814d94
commit 57868a008c
+4
View File
@@ -227,6 +227,10 @@ pub(crate) async fn upgrade_room_route(
| Ok(v) => v.content().to_owned(),
| Err(_) => continue, // Skipping missing events.
};
if event_content.get() == "{}" {
// If the event content is empty, we skip it
continue;
}
services
.rooms