Skip to content

Commit

Permalink
Fix hardcoded historyCount
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomRay authored Aug 2, 2023
1 parent 4addccd commit 4078f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/timeline.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4078f7a

Please sign in to comment.