Enable emoji picker by default in config.json (#6871)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0bb4add8a1
Коммит
40c0c0bd13
@@ -38,7 +38,7 @@
|
|||||||
"WebsocketPort": 80,
|
"WebsocketPort": 80,
|
||||||
"WebserverMode": "gzip",
|
"WebserverMode": "gzip",
|
||||||
"EnableCustomEmoji": false,
|
"EnableCustomEmoji": false,
|
||||||
"EnableEmojiPicker": false,
|
"EnableEmojiPicker": true,
|
||||||
"RestrictCustomEmojiCreation": "all",
|
"RestrictCustomEmojiCreation": "all",
|
||||||
"RestrictPostDelete": "all",
|
"RestrictPostDelete": "all",
|
||||||
"AllowEditPost": "always",
|
"AllowEditPost": "always",
|
||||||
|
|||||||
@@ -1033,7 +1033,7 @@ func (o *Config) SetDefaults() {
|
|||||||
|
|
||||||
if o.ServiceSettings.EnableEmojiPicker == nil {
|
if o.ServiceSettings.EnableEmojiPicker == nil {
|
||||||
o.ServiceSettings.EnableEmojiPicker = new(bool)
|
o.ServiceSettings.EnableEmojiPicker = new(bool)
|
||||||
*o.ServiceSettings.EnableEmojiPicker = false
|
*o.ServiceSettings.EnableEmojiPicker = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if o.ServiceSettings.RestrictCustomEmojiCreation == nil {
|
if o.ServiceSettings.RestrictCustomEmojiCreation == nil {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user