This commit is contained in:
Valere 2021-05-10 13:53:43 +02:00
parent 5e2c3239ea
commit 981626a0f7

View file

@ -141,9 +141,9 @@ internal class DefaultSpaceService @Inject constructor(
name = childSummary.name, name = childSummary.name,
topic = childSummary.topic, topic = childSummary.topic,
avatarUrl = childSummary.avatarUrl, avatarUrl = childSummary.avatarUrl,
order = childStateEvContent?.order, order = childStateEvContent.order,
autoJoin = childStateEvContent?.autoJoin ?: false, autoJoin = childStateEvContent.autoJoin ?: false,
viaServers = childStateEvContent?.via ?: emptyList(), viaServers = childStateEvContent.via.orEmpty(),
activeMemberCount = childSummary.numJoinedMembers, activeMemberCount = childSummary.numJoinedMembers,
parentRoomId = childStateEv.roomId parentRoomId = childStateEv.roomId
) )