mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
modules/client/sync/rooms/timeline: Initialize the prev batch idx to head idx.
This commit is contained in:
parent
058f20fe30
commit
df9637d3ce
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ ircd::m::sync::_room_timeline_polylog_events(data &data,
|
|||
// event_idx on the way down in case of renewing the iterator for the
|
||||
// way back. This is not a big deal but rocksdb should fix their shit.
|
||||
m::event::id::buf event_id;
|
||||
m::event::idx event_idx {0};
|
||||
m::event::idx event_idx {data.room_head};
|
||||
m::room::events it
|
||||
{
|
||||
room
|
||||
|
|
Loading…
Reference in a new issue