diff --git a/.changeset/fast-teachers-buy.md b/.changeset/fast-teachers-buy.md new file mode 100644 index 0000000..3074805 --- /dev/null +++ b/.changeset/fast-teachers-buy.md @@ -0,0 +1,5 @@ +--- +"server-sdk-kotlin": patch +--- + +Fix: updateIngress incorrectly sets participantIdentity to null diff --git a/src/main/kotlin/io/livekit/server/IngressServiceClient.kt b/src/main/kotlin/io/livekit/server/IngressServiceClient.kt index 694f19c..560a2f4 100644 --- a/src/main/kotlin/io/livekit/server/IngressServiceClient.kt +++ b/src/main/kotlin/io/livekit/server/IngressServiceClient.kt @@ -1,5 +1,5 @@ /* - * Copyright 2024 LiveKit, Inc. + * Copyright 2024-2025 LiveKit, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -119,7 +119,7 @@ class IngressServiceClient( this.roomName = roomName } - if (participantIdentity == null) { + if (participantIdentity != null) { this.participantIdentity = participantIdentity }