fix: Set limited to true for newly joined rooms again
This commit is contained in:
parent
1c21e4af6e
commit
213a361c53
1 changed files with 2 additions and 1 deletions
|
|
@ -432,7 +432,8 @@ pub(super) async fn load_joined_room(
|
|||
},
|
||||
unread_notifications: UnreadNotificationsCount { highlight_count, notification_count },
|
||||
timeline: Timeline {
|
||||
limited: timeline.limited,
|
||||
// mirror Synapse behavior by setting `limited` if the user joined since the last sync
|
||||
limited: timeline.limited || joined_since_last_sync,
|
||||
prev_batch: prev_batch.as_ref().map(ToString::to_string),
|
||||
events: room_events,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue