Adds back default to true on isWebRTCCallOptionAvailable

This commit is contained in:
ericdecanini 2022-03-15 18:15:46 +01:00
parent 38f3b88395
commit d74d569f4b

View file

@ -96,7 +96,7 @@ data class RoomDetailViewState(
Timber.d("WebRTCTest joined members: $joinedMembersCount")
Timber.d("WebRTCTest isDirect: $isDirect")
joinedMembersCount <= 2
}
} ?: true // if room summary cannot be found, assume call option should be available
fun isSearchAvailable() = asyncRoomSummary()?.isEncrypted == false