adding some crashfixes

This commit is contained in:
tibbi
2022-06-08 14:55:13 +02:00
parent 007fbefb9d
commit 35b0592aac
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ class CallManager {
}
}
else -> {
val conference = calls.find { it.isConference() }!!
val conference = calls.find { it.isConference() } ?: return NoCall
val secondCall = if (conference.children.size + 1 != calls.size) {
calls.filter { !it.isConference() }
.subtract(conference.children.toSet())