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")
|
lgr.Debugw("updating participant metadata")
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
requestResponse := &livekit.RequestResponse{}
|
requestResponse := &livekit.RequestResponse{
|
||||||
|
RequestId: update.RequestId,
|
||||||
|
}
|
||||||
sendRequestResponse := func() error {
|
sendRequestResponse := func() error {
|
||||||
if !fromAdmin || (update.RequestId != 0 || err != nil) {
|
if !fromAdmin || (update.RequestId != 0 || err != nil) {
|
||||||
requestResponse.Request = &livekit.RequestResponse_UpdateMetadata{
|
requestResponse.Request = &livekit.RequestResponse_UpdateMetadata{
|
||||||
|
|||||||
Reference in New Issue
Block a user