mirror of
https://github.com/livekit/livekit.git
synced 2026-03-29 09:19:53 +00:00
add incoming request id to request response message (#3912)
This commit is contained in:
@@ -583,7 +583,9 @@ func (p *ParticipantImpl) UpdateMetadata(update *livekit.UpdateParticipantMetada
|
||||
lgr.Debugw("updating participant metadata")
|
||||
|
||||
var err error
|
||||
requestResponse := &livekit.RequestResponse{}
|
||||
requestResponse := &livekit.RequestResponse{
|
||||
RequestId: update.RequestId,
|
||||
}
|
||||
sendRequestResponse := func() error {
|
||||
if !fromAdmin || (update.RequestId != 0 || err != nil) {
|
||||
requestResponse.Request = &livekit.RequestResponse_UpdateMetadata{
|
||||
|
||||
Reference in New Issue
Block a user