You've already forked matrix-js-sdk
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user