Populate disconnect updates with participant identity (#2310)

This commit is contained in:
lukasIO
2023-12-13 15:32:25 +01:00
committed by GitHub
parent dfcafff955
commit 23b46042cc
+4 -3
View File
@@ -212,9 +212,10 @@ func (p *ParticipantImpl) sendDisconnectUpdatesForReconnect() error {
break
} else if info.state == livekit.ParticipantInfo_DISCONNECTED {
disconnectedParticipants = append(disconnectedParticipants, &livekit.ParticipantInfo{
Sid: string(keys[i]),
Version: info.version,
State: livekit.ParticipantInfo_DISCONNECTED,
Sid: string(keys[i]),
Identity: string(p.Identity()),
Version: info.version,
State: livekit.ParticipantInfo_DISCONNECTED,
})
}
}