diff options
Diffstat (limited to 'model/websocket_message.go')
-rw-r--r-- | model/websocket_message.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/model/websocket_message.go b/model/websocket_message.go index 4a547bb6a..08c238480 100644 --- a/model/websocket_message.go +++ b/model/websocket_message.go @@ -57,10 +57,12 @@ type WebSocketMessage interface { } type WebsocketBroadcast struct { - OmitUsers map[string]bool `json:"omit_users"` // broadcast is omitted for users listed here - UserId string `json:"user_id"` // broadcast only occurs for this user - ChannelId string `json:"channel_id"` // broadcast only occurs for users in this channel - TeamId string `json:"team_id"` // broadcast only occurs for users in this team + OmitUsers map[string]bool `json:"omit_users"` // broadcast is omitted for users listed here + UserId string `json:"user_id"` // broadcast only occurs for this user + ChannelId string `json:"channel_id"` // broadcast only occurs for users in this channel + TeamId string `json:"team_id"` // broadcast only occurs for users in this team + ContainsSanitizedData bool `json:"-"` + ContainsSensitiveData bool `json:"-"` } type precomputedWebSocketEventJSON struct { |