EventIndex: Correctly populate events on initial fill requests.

This commit is contained in:
Damir Jelić 2020-01-22 16:11:54 +01:00
parent a0599dedf0
commit 735ba4fd33
2 changed files with 11 additions and 1 deletions

View file

@ -98,7 +98,7 @@ const FilePanel = createReactClass({
if (client.isRoomEncrypted(roomId) && eventIndex !== null) {
const timeline = timelineSet.getLiveTimeline();
await eventIndex.populateFileTimeline(timelineSet, timeline, room, 1);
await eventIndex.populateFileTimeline(timelineSet, timeline, room, 10);
}
this.setState({ timelineSet: timelineSet });