mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +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;
|
++i;
|
||||||
}
|
}
|
||||||
|
|
||||||
limited = i > limit;
|
limited = i < limit;
|
||||||
if(i > 1 && !it)
|
if(i > 1 && !it)
|
||||||
it.seek(event_idx);
|
it.seek(event_idx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue