1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00

pass LL flag to room, to know if we should wait for lazy members at all

This commit is contained in:
Bruno Windels
2018-08-06 18:56:29 +02:00
parent b4afe97289
commit b14be026b7
2 changed files with 3 additions and 1 deletions

View File

@@ -114,6 +114,7 @@ function SyncApi(client, opts) {
SyncApi.prototype.createRoom = function(roomId) {
const client = this.client;
const room = new Room(roomId, client.getUserId(), {
lazyLoadMembers: this.opts.lazyLoadMembers,
pendingEventOrdering: this.opts.pendingEventOrdering,
timelineSupport: client.timelineSupport,
});