Post-formatting aesthetic and spacing corrections

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-02 19:17:06 +01:00
committed by Jade Ellis
parent af4f66c768
commit 364293608d
72 changed files with 704 additions and 528 deletions
+1 -5
View File
@@ -293,11 +293,7 @@ impl Service {
.state_accessor
.room_state_get(event.room_id(), &StateEventType::RoomPowerLevels, "")
.await
.and_then(|ev| {
serde_json::from_str(ev.content.get()).map_err(|e| {
err!(Database(error!("invalid m.room.power_levels event: {e:?}")))
})
})
.and_then(|event| event.get_content())
.unwrap_or_default();
let serialized = event.to_format();