Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Do not return clientID in chat history API. Closes #1547

Gabe Kangas6a8d0ac19e06
diff --git a/core/chat/events/events.go b/core/chat/events/events.go
index 6b944fc308..ad28c73df3 100644
--- a/core/chat/events/events.go
+++ b/core/chat/events/events.go
@@ -36,7 +36,7 @@ type Event struct {
// UserEvent is an event with an associated user.
type UserEvent struct {
User *user.User `json:"user"`
- ClientID uint `json:"clientId"`
+ ClientID uint `json:"clientId,omitempty"`
HiddenAt *time.Time `json:"hiddenAt,omitempty"`
}