Add an option to lazy load room message at initial sync.
Reduces initial sync time. Useful if you joined a lot of rooms and have a slow homeserver.
This commit is contained in:
@@ -226,5 +226,5 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
onCurrentRoomChanged: if (currentRoom && !currentRoom.timelineSize) currentRoom.getPreviousContent(20)
|
||||
onCurrentRoomChanged: setting.lazyLoad && currentRoom && !currentRoom.timelineSize ? currentRoom.getPreviousContent(20) : {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user