Skip to content

Commit

Permalink
Relax validation on the session_id
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandar-apostolov committed Oct 30, 2024
1 parent bd82e9f commit 25601ea
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1094,11 +1094,6 @@ public class CallState(
}

internal fun getOrCreateParticipant(participant: Participant): ParticipantState {
// get or create the participant and update them
if (participant.session_id.isEmpty()) {
throw IllegalStateException("Participant session id is empty")
}

val participantState = getOrCreateParticipant(participant.session_id, participant.user_id)
participantState.updateFromParticipantInfo(participant)

Expand Down

0 comments on commit 25601ea

Please sign in to comment.