Skip to content

Commit

Permalink
fix multiline function
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Boos <[email protected]>
  • Loading branch information
alanpoon and kevinaboos authored Dec 30, 2024
1 parent 4c7f168 commit 82ed3c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sliding_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<FullyReadEventContent>().await?
.and_then(|f| f.deserialize().ok())
Expand Down

0 comments on commit 82ed3c5

Please sign in to comment.