diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-01-04 16:17:12 -0500 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-01-04 16:17:12 -0500 |
commit | 461a39c49790a3d788a7d580aa9435a100b92208 (patch) | |
tree | 31e1988c63df0a288f0c3bb794e0a5497837548f | |
parent | 45585e6c2a03d3bfcbcc1a68ccdb06e596fa3ea2 (diff) | |
download | chat-461a39c49790a3d788a7d580aa9435a100b92208.tar.gz chat-461a39c49790a3d788a7d580aa9435a100b92208.tar.bz2 chat-461a39c49790a3d788a7d580aa9435a100b92208.zip |
Fix bad merge causing unread update issue (#4966)
-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) } |