Fix defaults in code to match config.json (#5269)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
701d1ab638
Коммит
e9d6287dc8
@@ -847,7 +847,7 @@ func (o *Config) SetDefaults() {
|
||||
|
||||
if o.ServiceSettings.AllowEditPost == nil {
|
||||
o.ServiceSettings.AllowEditPost = new(string)
|
||||
*o.ServiceSettings.AllowEditPost = ALLOW_EDIT_POST_TIME_LIMIT
|
||||
*o.ServiceSettings.AllowEditPost = ALLOW_EDIT_POST_ALWAYS
|
||||
}
|
||||
|
||||
if o.ServiceSettings.PostEditTimeLimit == nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user