mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
modules/client/sync/rooms/timeline: Fix polylog limited flag condition.
This commit is contained in:
parent
ab38cd7b65
commit
a5aac0eb1f
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ ircd::m::sync::_room_timeline_polylog_events(data &data,
|
|||
++i;
|
||||
}
|
||||
|
||||
limited = i > limit;
|
||||
limited = i < limit;
|
||||
if(i > 1 && !it)
|
||||
it.seek(event_idx);
|
||||
|
||||
|
|
Loading…
Reference in a new issue