0

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

This commit is contained in:
Gabe Kangas 2022-01-25 20:13:41 -08:00
parent 3fa009e7ed
commit e4b1217af8
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -36,7 +36,7 @@ type Event struct {
// UserEvent is an event with an associated user. // UserEvent is an event with an associated user.
type UserEvent struct { type UserEvent struct {
User *user.User `json:"user"` User *user.User `json:"user"`
ClientID uint `json:"clientId"` ClientID uint `json:"clientId,omitempty"`
HiddenAt *time.Time `json:"hiddenAt,omitempty"` HiddenAt *time.Time `json:"hiddenAt,omitempty"`
} }