mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-26 21:27:40 -05:00
Fix bad merge causing unread update issue (#4966)
This commit is contained in:
committed by
Harrison Healey
parent
45585e6c2a
commit
461a39c497
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user