mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing missing default for EnablePreviewFeatures (#7887)
This commit is contained in:
committed by
GitHub
parent
0bc17001c4
commit
cf9cd6a4b6
@@ -394,6 +394,10 @@ func (s *ServiceSettings) SetDefaults() {
|
||||
if s.PostEditTimeLimit == nil {
|
||||
s.PostEditTimeLimit = NewInt(300)
|
||||
}
|
||||
|
||||
if s.EnablePreviewFeatures == nil {
|
||||
s.EnablePreviewFeatures = NewBool(true)
|
||||
}
|
||||
}
|
||||
|
||||
type ClusterSettings struct {
|
||||
|
||||
Reference in New Issue
Block a user