web/client: fix fetching member lists

This commit is contained in:
Tulir Asokan 2024-11-12 21:33:17 +02:00
parent 04117b5211
commit 0fe01a8bff

View file

@ -224,7 +224,7 @@ export default class Client {
if (!room) {
throw new Error("Room not found")
}
const state = await this.rpc.getRoomState(roomID, room.meta.current.has_member_list, refetch)
const state = await this.rpc.getRoomState(roomID, !room.meta.current.has_member_list, refetch)
room.applyFullState(state)
}