Fix EnablChannelViewedMessages typo (#6822)

* Update config.json

* Update config.go

* Update config.go

* Update channel.go

* Update post.go

* Update diagnostics.go

* Update config.go
Этот коммит содержится в:
Jason Blais
2017-07-03 09:01:14 -04:00
коммит произвёл Joram Wilander
родитель a6e9a7a38f
Коммит ac2c91c507
6 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@@ -49,7 +49,7 @@ func CreatePostAsUser(post *model.Post) (*model.Post, *model.AppError) {
l4g.Error(utils.T("api.post.create_post.last_viewed.error"), post.ChannelId, post.UserId, result.Err)
}
if *utils.Cfg.ServiceSettings.EnablChannelViewedMessages {
if *utils.Cfg.ServiceSettings.EnableChannelViewedMessages {
message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_CHANNEL_VIEWED, "", "", post.UserId, nil)
message.Add("channel_id", post.ChannelId)
go Publish(message)