mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 02:12:44 +00:00
Forward ChatMessage (#3005)
* Forward ChatMessage * fill in participantIdentity * remove redundant setting
This commit is contained in:
1 parent
a0b4c39fd5
commit
2e7bcbc5e2
1 file changed
+2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user