style: Reformat

This commit is contained in:
timedout authored and Jade Ellis committed 2026-10-14 10:34:50 +01:00
1 parent e001e4a68a
commit 7b180667e8
11 files changed
+33 -42

No files matched your search

+2 -2
View File
@@ -74,8 +74,8 @@ pub(super) async fn load_left_room(
// return early if:
// - this is an initial sync and the room filter doesn't include leaves, or
// - this is an incremental sync, and we've already synced the leave, and
// the room filter doesn't include leaves
// - this is an incremental sync, and we've already synced the leave, and the
// room filter doesn't include leaves
if last_sync_end_count.is_none_or(|last_sync_end_count| last_sync_end_count >= left_count)
&& !filter.room.include_leave
{
+1 -2
View File
@@ -726,8 +726,7 @@ async fn stripped_state_event(
.get_field::<StateEventType>("type")
.ok()
.flatten()
.as_ref()
== Some(event_type)
.as_ref() == Some(event_type)
})
}