diff --git a/src/api/client/sync/v3/joined.rs b/src/api/client/sync/v3/joined.rs index 6ebc09c8..1fbd283a 100644 --- a/src/api/client/sync/v3/joined.rs +++ b/src/api/client/sync/v3/joined.rs @@ -294,7 +294,8 @@ async fn build_state_and_timeline( ) .await?; - // the token which may be passed to the messages endpoint to backfill room history + // the token which may be passed to the messages endpoint to backfill room + // history let prev_batch = timeline.pdus.front().map(at!(0)); // note: we always indicate a limited timeline if the syncing user just joined