diff options
author | Jason Blais <jason@spinpunch.com> | 2017-07-03 09:01:14 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-07-03 09:01:14 -0400 |
commit | ac2c91c50763876c2949d4a6b67e4300be826cc2 (patch) | |
tree | 62fdef18c3c45066de68f4177cb00666b369aa70 /model/config.go | |
parent | a6e9a7a38fe281ccaabcf29651645dcceee1f048 (diff) | |
download | chat-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 'model/config.go')
-rw-r--r-- | model/config.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/model/config.go b/model/config.go index 9e5fc3e9d..9dedaf2fc 100644 --- a/model/config.go +++ b/model/config.go @@ -165,7 +165,7 @@ type ServiceSettings struct { TimeBetweenUserTypingUpdatesMilliseconds *int64 EnablePostSearch *bool EnableUserTypingMessages *bool - EnablChannelViewedMessages *bool + EnableChannelViewedMessages *bool EnableUserStatuses *bool ClusterLogTimeoutMilliseconds *int } @@ -1314,9 +1314,9 @@ func (o *Config) SetDefaults() { *o.ServiceSettings.EnableUserTypingMessages = true } - if o.ServiceSettings.EnablChannelViewedMessages == nil { - o.ServiceSettings.EnablChannelViewedMessages = new(bool) - *o.ServiceSettings.EnablChannelViewedMessages = true + if o.ServiceSettings.EnableChannelViewedMessages == nil { + o.ServiceSettings.EnableChannelViewedMessages = new(bool) + *o.ServiceSettings.EnableChannelViewedMessages = true } if o.ServiceSettings.EnableUserStatuses == nil { |