Add missing tests on CallType and make it internal.
This commit is contained in:
parent
4026757201
commit
9e6fd63feb
4 changed files with 61 additions and 8 deletions
|
|
@ -31,10 +31,3 @@ sealed interface CallType : NodeInputs, Parcelable {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun CallType.getSessionId(): SessionId? {
|
||||
return when (this) {
|
||||
is CallType.ExternalUrl -> null
|
||||
is CallType.RoomCall -> sessionId
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue