summaryrefslogtreecommitdiffstats
path: root/app/channel.go
diff options
context:
space:
mode:
authorJason Blais <jason@spinpunch.com>2017-07-03 09:01:14 -0400
committerJoram Wilander <jwawilander@gmail.com>2017-07-03 09:01:14 -0400
commitac2c91c50763876c2949d4a6b67e4300be826cc2 (patch)
tree62fdef18c3c45066de68f4177cb00666b369aa70 /app/channel.go
parenta6e9a7a38fe281ccaabcf29651645dcceee1f048 (diff)
downloadchat-ac2c91c50763876c2949d4a6b67e4300be826cc2.tar.gz
chat-ac2c91c50763876c2949d4a6b67e4300be826cc2.tar.bz2
chat-ac2c91c50763876c2949d4a6b67e4300be826cc2.zip
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
Diffstat (limited to 'app/channel.go')
-rw-r--r--app/channel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/channel.go b/app/channel.go
index 5dafa1f76..2a710a3c0 100644
--- a/app/channel.go
+++ b/app/channel.go
@@ -1091,7 +1091,7 @@ func UpdateChannelLastViewedAt(channelIds []string, userId string) *model.AppErr
return result.Err
}
- if *utils.Cfg.ServiceSettings.EnablChannelViewedMessages {
+ if *utils.Cfg.ServiceSettings.EnableChannelViewedMessages {
for _, channelId := range channelIds {
message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_CHANNEL_VIEWED, "", "", userId, nil)
message.Add("channel_id", channelId)
@@ -1158,7 +1158,7 @@ func ViewChannel(view *model.ChannelView, userId string, clearPushNotifications
return result.Err
}
- if *utils.Cfg.ServiceSettings.EnablChannelViewedMessages {
+ if *utils.Cfg.ServiceSettings.EnableChannelViewedMessages {
message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_CHANNEL_VIEWED, "", "", userId, nil)
message.Add("channel_id", view.ChannelId)
go Publish(message)