always set limited true on left timeline events in sync (for now)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-12-11 14:29:37 -05:00
parent 80f9536d21
commit ac0545f773

View file

@ -546,9 +546,9 @@ async fn handle_left_room(
events: Vec::new(), events: Vec::new(),
}, },
timeline: Timeline { 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()), 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 { state: RoomState {
events: left_state_events, events: left_state_events,