From fc995533e1089b80e7855453f7eb31feac6b3a51 Mon Sep 17 00:00:00 2001 From: Hamdan <96612374+s-hamdananwar@users.noreply.github.com> Date: Tue, 9 Sep 2025 22:28:12 -0500 Subject: [PATCH] add incoming request id to request response message (#3912) --- pkg/rtc/participant.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/rtc/participant.go b/pkg/rtc/participant.go index eab5dbd34..aec54d291 100644 --- a/pkg/rtc/participant.go +++ b/pkg/rtc/participant.go @@ -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{