Sometimes Timeline::paginate_backward()
returns true
when it is not at the start of the timeline
#4494
Labels
Timeline::paginate_backward()
returns true
when it is not at the start of the timeline
#4494
This seems to occur reliably with the live timeline when we received only a handful of new messages in a room via
Client::sync()
since the last time that the client was used.This does not happen if there are no new messages in the room, or if there are more than a handful new messages in the room, so closing the app and relaunching it makes the issue go away. So it seems like it happens when we receive a
timeline
for the room that is notlimited
in the first sync since the client was created.These are the logs with an account with a single room, and a single new message received via sync, with
RUST_LOG=matrix_sdk::event_cache=trace,matrix_sdk::sync=trace,matrix_sdk_base::event_cache=trace,matrix_sdk_sqlite::event_cache_store=trace,matrix_sdk_ui=trace,warn
:Logs
The text was updated successfully, but these errors were encountered: