diff options
Diffstat (limited to 'model/config.go')
-rw-r--r-- | model/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go index 6cc7251b8..17b7e87e6 100644 --- a/model/config.go +++ b/model/config.go @@ -204,6 +204,7 @@ type ServiceSettings struct { EnableChannelViewedMessages *bool EnableUserStatuses *bool ClusterLogTimeoutMilliseconds *int + CloseUnusedDirectMessages *bool } type ClusterSettings struct { @@ -1376,6 +1377,10 @@ func (o *Config) SetDefaults() { o.ServiceSettings.ClusterLogTimeoutMilliseconds = NewInt(2000) } + if o.ServiceSettings.CloseUnusedDirectMessages == nil { + o.ServiceSettings.CloseUnusedDirectMessages = NewBool(false) + } + if o.ElasticsearchSettings.ConnectionUrl == nil { o.ElasticsearchSettings.ConnectionUrl = NewString(ELASTICSEARCH_SETTINGS_DEFAULT_CONNECTION_URL) } |