diff --git a/modules/client/sync/rooms/timeline.cc b/modules/client/sync/rooms/timeline.cc index 25ad71978..e4bcb45d9 100644 --- a/modules/client/sync/rooms/timeline.cc +++ b/modules/client/sync/rooms/timeline.cc @@ -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);