From a5aac0eb1fc012a94735256439ce310979a07dfe Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 5 Oct 2020 23:36:02 -0700 Subject: [PATCH] modules/client/sync/rooms/timeline: Fix polylog limited flag condition. --- modules/client/sync/rooms/timeline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);