mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 17:45:40 +00:00
Forward ChatMessage (#3005)
* Forward ChatMessage * fill in participantIdentity * remove redundant setting
This commit is contained in:
@@ -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