From 981626a0f7bb8e059e9422d357e060663e9b8b3c Mon Sep 17 00:00:00 2001 From: Valere Date: Mon, 10 May 2021 13:53:43 +0200 Subject: [PATCH] cleaning --- .../sdk/internal/session/space/DefaultSpaceService.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/space/DefaultSpaceService.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/space/DefaultSpaceService.kt index fb6a54e3a8..c68f4db146 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/space/DefaultSpaceService.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/space/DefaultSpaceService.kt @@ -141,9 +141,9 @@ internal class DefaultSpaceService @Inject constructor( name = childSummary.name, topic = childSummary.topic, avatarUrl = childSummary.avatarUrl, - order = childStateEvContent?.order, - autoJoin = childStateEvContent?.autoJoin ?: false, - viaServers = childStateEvContent?.via ?: emptyList(), + order = childStateEvContent.order, + autoJoin = childStateEvContent.autoJoin ?: false, + viaServers = childStateEvContent.via.orEmpty(), activeMemberCount = childSummary.numJoinedMembers, parentRoomId = childStateEv.roomId )