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

we dont need a separate index?

This commit is contained in:
Bruno Windels
2018-07-30 17:17:50 +02:00
parent 0364af7337
commit 86105611fc

View File

@@ -767,8 +767,6 @@ MatrixClient.prototype._loadMembers = async function(room) {
const lastEventId = room.getLastEventId();
const response = await this.members(roomId, "join", "leave", lastEventId);
rawMembersEvents = response.chunk;
// TODO don't block on writing
await this.store.setOutOfBandMembers(roomId, rawMembersEvents);
}
const memberEvents = rawMembersEvents.map(this.getEventMapper());
return {memberEvents, fromServer};