mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Setting to enable new experimental channel sidebar (#14036)
* Merge upstream * [MM-20881] Server changes for new experimental channel sidebar setting (#13434) * Remove report.xml Co-authored-by: Jason Deland <jaydeland@gmail.com> Co-authored-by: Devin Binnie <devin@Devins-MacBook-Pro.local> Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com> Co-authored-by: mattermod <mattermod@users.noreply.github.com>
This commit is contained in:
@@ -314,6 +314,7 @@ type ServiceSettings struct {
|
||||
ExperimentalEnableDefaultChannelLeaveJoinMessages *bool
|
||||
ExperimentalGroupUnreadChannels *string
|
||||
ExperimentalChannelOrganization *bool
|
||||
ExperimentalChannelSidebarOrganization *string
|
||||
DEPRECATED_DO_NOT_USE_ImageProxyType *string `json:"ImageProxyType" mapstructure:"ImageProxyType"` // This field is deprecated and must not be used.
|
||||
DEPRECATED_DO_NOT_USE_ImageProxyURL *string `json:"ImageProxyURL" mapstructure:"ImageProxyURL"` // This field is deprecated and must not be used.
|
||||
DEPRECATED_DO_NOT_USE_ImageProxyOptions *string `json:"ImageProxyOptions" mapstructure:"ImageProxyOptions"` // This field is deprecated and must not be used.
|
||||
@@ -655,6 +656,10 @@ func (s *ServiceSettings) SetDefaults(isUpdate bool) {
|
||||
s.ExperimentalChannelOrganization = NewBool(experimentalUnreadEnabled)
|
||||
}
|
||||
|
||||
if s.ExperimentalChannelSidebarOrganization == nil {
|
||||
s.ExperimentalChannelSidebarOrganization = NewString("disabled")
|
||||
}
|
||||
|
||||
if s.DEPRECATED_DO_NOT_USE_ImageProxyType == nil {
|
||||
s.DEPRECATED_DO_NOT_USE_ImageProxyType = NewString("")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user