1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

add option for lazy loading to startClient

we need more than just a filter, which is what is passed in now,
so have an explicit option. For now still take the filter but later on
this could be created inside MatrixClient
This commit is contained in:
Bruno Windels
2018-08-01 15:44:59 +02:00
parent f261599435
commit 1dc4b8bb63

View File

@@ -3084,6 +3084,8 @@ MatrixClient.prototype.getTurnServers = function() {
*
* @param {Boolean=} opts.disablePresence True to perform syncing without automatically
* updating presence.
* @param {Boolean=} opts.lazyLoadMembers True to not load all membership events during
* initial sync but fetch them when needed by calling `loadOutOfBandMembers`
*/
MatrixClient.prototype.startClient = function(opts) {
if (this.clientRunning) {