diff options
Diffstat (limited to 'api/channel.go')
-rw-r--r-- | api/channel.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/channel.go b/api/channel.go index 70612e6eb..4c9e514ac 100644 --- a/api/channel.go +++ b/api/channel.go @@ -1297,6 +1297,7 @@ func viewChannel(c *Context, w http.ResponseWriter, r *http.Request) { message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_CHANNEL_VIEWED, c.TeamId, "", c.Session.UserId, nil) message.Add("channel_id", view.ChannelId) + go Publish(message) ReturnStatusOK(w) } |