mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 04:48:50 +03:00
Use the correct property of the API room objects
This commit is contained in:
parent
ba46faf1b1
commit
e955d27b5f
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,6 @@ export function groupRoomFromApiObject(apiObject) {
|
||||||
topic: apiObject.topic,
|
topic: apiObject.topic,
|
||||||
numJoinedMembers: apiObject.num_joined_members,
|
numJoinedMembers: apiObject.num_joined_members,
|
||||||
worldReadable: apiObject.world_readable,
|
worldReadable: apiObject.world_readable,
|
||||||
canGuestsJoin: apiObject.can_guests_join,
|
guestCanJoin: apiObject.guest_can_join,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue