Reverse `MemberListStore.loadMembers` condition
parent
72eddef76c
commit
60529538c3
|
@ -70,7 +70,7 @@ export class MemberListStore {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(await this.isLazyLoadingEnabled(roomId)) || this.loadedRooms.has(roomId)) {
|
if (this.loadedRooms.has(roomId) || !(await this.isLazyLoadingEnabled(roomId))) {
|
||||||
// nice and easy, we must already have all the members so just return them.
|
// nice and easy, we must already have all the members so just return them.
|
||||||
return this.loadMembersInRoom(room);
|
return this.loadMembersInRoom(room);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue