[PLT-6969] System console setting for the emoji picker (#6809)
* system console setting for the emoji picker * remove state.emojiPickerEnable * update url to /admin_console/customization/emoji
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
918ce03622
Коммит
279c7b7fda
@@ -159,6 +159,7 @@ type ServiceSettings struct {
|
||||
WebsocketPort *int
|
||||
WebserverMode *string
|
||||
EnableCustomEmoji *bool
|
||||
EnableEmojiPicker *bool
|
||||
RestrictCustomEmojiCreation *string
|
||||
RestrictPostDelete *string
|
||||
AllowEditPost *string
|
||||
@@ -1032,7 +1033,12 @@ func (o *Config) SetDefaults() {
|
||||
|
||||
if o.ServiceSettings.EnableCustomEmoji == nil {
|
||||
o.ServiceSettings.EnableCustomEmoji = new(bool)
|
||||
*o.ServiceSettings.EnableCustomEmoji = true
|
||||
*o.ServiceSettings.EnableCustomEmoji = false
|
||||
}
|
||||
|
||||
if o.ServiceSettings.EnableEmojiPicker == nil {
|
||||
o.ServiceSettings.EnableEmojiPicker = new(bool)
|
||||
*o.ServiceSettings.EnableEmojiPicker = false
|
||||
}
|
||||
|
||||
if o.ServiceSettings.RestrictCustomEmojiCreation == nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user