fix: fixed hardcoded historyCount
This commit is contained in:
parent
be1f125414
commit
4b51c1c5fd
|
|
@ -116,7 +116,7 @@ class Timeline {
|
||||||
: await room.client.database?.getEventList(
|
: await room.client.database?.getEventList(
|
||||||
room,
|
room,
|
||||||
start: events.length,
|
start: events.length,
|
||||||
limit: Room.defaultHistoryCount,
|
limit: historyCount,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (eventsFromStore != null && eventsFromStore.isNotEmpty) {
|
if (eventsFromStore != null && eventsFromStore.isNotEmpty) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue