[MM-4819] Add MinimumHashtagLength config (#10248)

#### Summary
Add `MinimumHashtagLength` config

#### Ticket Link
#9156 
https://mattermost.atlassian.net/browse/MM-4819

#### Checklist
N/A
Этот коммит содержится в:
Yusuke Nemoto
2019-03-11 22:09:50 +09:00
коммит произвёл Hanzei
родитель 86a3bd064b
Коммит 1684f240e0
5 изменённых файлов: 9 добавлений и 0 удалений

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

@@ -35,6 +35,7 @@ func GenerateClientConfig(c *model.Config, diagnosticId string, license *model.L
props["EnableTesting"] = strconv.FormatBool(*c.ServiceSettings.EnableTesting)
props["EnableDeveloper"] = strconv.FormatBool(*c.ServiceSettings.EnableDeveloper)
props["PostEditTimeLimit"] = fmt.Sprintf("%v", *c.ServiceSettings.PostEditTimeLimit)
props["MinimumHashtagLength"] = fmt.Sprintf("%v", *c.ServiceSettings.MinimumHashtagLength)
props["CloseUnusedDirectMessages"] = strconv.FormatBool(*c.ServiceSettings.CloseUnusedDirectMessages)
props["EnablePreviewFeatures"] = strconv.FormatBool(*c.ServiceSettings.EnablePreviewFeatures)
props["EnableTutorial"] = strconv.FormatBool(*c.ServiceSettings.EnableTutorial)