Add missing tests on CallType and make it internal.

This commit is contained in:
Benoit Marty 2025-10-22 12:07:45 +02:00
parent b4ce7ce9ff
commit 67ecf8bcd3
4 changed files with 61 additions and 8 deletions

View file

@ -31,10 +31,3 @@ sealed interface CallType : NodeInputs, Parcelable {
}
}
}
fun CallType.getSessionId(): SessionId? {
return when (this) {
is CallType.ExternalUrl -> null
is CallType.RoomCall -> sessionId
}
}