Add missing tests on CallType and make it internal.
This commit is contained in:
parent
b4ce7ce9ff
commit
67ecf8bcd3
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