mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/client: fix fetching member lists
This commit is contained in:
parent
04117b5211
commit
0fe01a8bff
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ export default class Client {
|
||||||
if (!room) {
|
if (!room) {
|
||||||
throw new Error("Room not found")
|
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)
|
room.applyFullState(state)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue