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

Move /members fetching to room as getEncryptionTargetMembers needs it

This commit is contained in:
Bruno Windels
2018-08-07 13:08:41 +02:00
parent 5d92ec3b7b
commit 864ea749e5
4 changed files with 72 additions and 79 deletions

View File

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