fix: fixed hardcoded historyCount

This commit is contained in:
Ray 2023-08-02 20:10:48 +10:00 committed by Krille-chan
parent be1f125414
commit 4b51c1c5fd
1 changed files with 1 additions and 1 deletions

View File

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