diff --git a/src/sliding_sync.rs b/src/sliding_sync.rs index 122da04..8603eb2 100644 --- a/src/sliding_sync.rs +++ b/src/sliding_sync.rs @@ -590,8 +590,10 @@ async fn async_worker( }; let _get_fully_read_event_task = Handle::current().spawn(async move { - async fn fetch_fully_read_event(room: &Room, room_id: &OwnedRoomId) -> - Result<(OwnedEventId, MilliSecondsSinceUnixEpoch), anyhow::Error> { + async fn fetch_fully_read_event( + room: &Room, + room_id: &OwnedRoomId, + ) -> Result<(OwnedEventId, MilliSecondsSinceUnixEpoch), anyhow::Error> { let fully_read_event = room .account_data_static::().await? .and_then(|f| f.deserialize().ok())