Browse Source

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

pull/1706/head
Gabe Kangas 4 years ago
parent
commit
e4b1217af8
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 2
      core/chat/events/events.go

2
core/chat/events/events.go

@ -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"`
} }

Loading…
Cancel
Save