From ac0545f7733f2638703b5a4f4fc57ce392036b26 Mon Sep 17 00:00:00 2001 From: strawberry Date: Wed, 11 Dec 2024 14:29:37 -0500 Subject: [PATCH] always set limited true on left timeline events in sync (for now) Signed-off-by: strawberry --- src/api/client/sync/v3.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/client/sync/v3.rs b/src/api/client/sync/v3.rs index 44572970..815ec87c 100644 --- a/src/api/client/sync/v3.rs +++ b/src/api/client/sync/v3.rs @@ -546,9 +546,9 @@ async fn handle_left_room( events: Vec::new(), }, timeline: Timeline { - limited: false, + limited: true, // TODO: support left timeline events so we dont need to set this to true prev_batch: Some(next_batch_string.to_owned()), - events: Vec::new(), + events: Vec::new(), // and so we dont need to set this to empty vec }, state: RoomState { events: left_state_events,