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(
|
: 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