Forward ChatMessage (#3005)

* Forward ChatMessage

* fill in participantIdentity

* remove redundant setting
This commit is contained in:
Raja Subramanian authored and GitHub committed 2024-09-16 20:17:38 +05:30
1 parent a0b4c39fd5
commit 2e7bcbc5e2
1 file changed
+2
+2
View File
@@ -1633,6 +1633,8 @@ func (p *ParticipantImpl) onDataMessage(kind livekit.DataPacket_Kind, data []byt
if p.Kind() == livekit.ParticipantInfo_AGENT {
shouldForward = true
}
case *livekit.DataPacket_ChatMessage:
shouldForward = true
default:
p.pubLogger.Warnw("received unsupported data packet", nil, "payload", payload)
}