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:
@@ -15,7 +15,8 @@ Page {
|
||||
|
||||
connection: page.connection
|
||||
|
||||
onNewMessage: trayIcon.showMessage("New message", "New message for room " + room.displayName)
|
||||
onRoomAdded: setting.lazyLoad ? {} : room.getPreviousContent(20)
|
||||
onNewMessage: trayIcon.showMessage("New message", "New message for room " + room.displayName)
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
||||
Reference in New Issue
Block a user