0
0
Fork 0
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:
Jason Volk 2020-10-05 23:36:02 -07:00
parent ab38cd7b65
commit a5aac0eb1f

View file

@ -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);