From 4b51c1c5fd891baa106d986206b3ece982f475c0 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 2 Aug 2023 20:10:48 +1000 Subject: [PATCH] fix: fixed hardcoded historyCount --- lib/src/timeline.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/timeline.dart b/lib/src/timeline.dart index 7ea015bf..c7cc26b7 100644 --- a/lib/src/timeline.dart +++ b/lib/src/timeline.dart @@ -116,7 +116,7 @@ class Timeline { : await room.client.database?.getEventList( room, start: events.length, - limit: Room.defaultHistoryCount, + limit: historyCount, ); if (eventsFromStore != null && eventsFromStore.isNotEmpty) {