mirror of
https://github.com/livekit/livekit.git
synced 2026-03-29 09:19:53 +00:00
Do not remove participant from cache on disconnect. (#4241)
Resuming participants need to know about participants disconnected during resume. Reverts https://github.com/livekit/livekit/pull/4234
This commit is contained in:
@@ -118,10 +118,6 @@ func (p *ParticipantImpl) SendParticipantUpdate(participantsToUpdate []*livekit.
|
||||
})
|
||||
validUpdates = append(validUpdates, pi)
|
||||
}
|
||||
|
||||
if pi.State == livekit.ParticipantInfo_DISCONNECTED {
|
||||
p.updateCache.Remove(pID)
|
||||
}
|
||||
}
|
||||
p.updateLock.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user