Merge pull request #1537 from PhantomRay/PhantomRay-patch-1
fix: fixed hardcoded historyCount
This commit is contained in:
commit
3c237f4984
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue