From f11a7a229f4b887d07c6937ae8ec6863116b60ab Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Mon, 19 Jun 2023 16:40:05 +0530 Subject: [PATCH] Remove unnecessary check (#1806) --- pkg/routing/redisrouter.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/routing/redisrouter.go b/pkg/routing/redisrouter.go index f10f7785..5ad1a5c1 100644 --- a/pkg/routing/redisrouter.go +++ b/pkg/routing/redisrouter.go @@ -160,9 +160,7 @@ func (r *RedisRouter) StartParticipantSignal(ctx context.Context, roomName livek return } - if connectionID == "" { - connectionID = livekit.ConnectionID(utils.NewGuid("CO_")) - } + connectionID = livekit.ConnectionID(utils.NewGuid("CO_")) pKey := ParticipantKeyLegacy(roomName, pi.Identity) pKeyB62 := ParticipantKey(roomName, pi.Identity)