0
0
Fork 0
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:
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; ++i;
} }
limited = i > limit; limited = i < limit;
if(i > 1 && !it) if(i > 1 && !it)
it.seek(event_idx); it.seek(event_idx);