summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/model/config.go b/model/config.go
index e38c993a8..a7044d9e1 100644
--- a/model/config.go
+++ b/model/config.go
@@ -1125,7 +1125,7 @@ type TeamSettings struct {
MaxNotificationsPerChannel *int64
EnableConfirmNotificationsToChannel *bool
TeammateNameDisplay *string
- ViewArchivedChannels *bool
+ ExperimentalViewArchivedChannels *bool
ExperimentalEnableAutomaticReplies *bool
ExperimentalHideTownSquareinLHS *bool
ExperimentalTownSquareIsReadOnly *bool
@@ -1255,8 +1255,8 @@ func (s *TeamSettings) SetDefaults() {
s.EnableUserCreation = NewBool(true)
}
- if s.ViewArchivedChannels == nil {
- s.ViewArchivedChannels = NewBool(true)
+ if s.ExperimentalViewArchivedChannels == nil {
+ s.ExperimentalViewArchivedChannels = NewBool(false)
}
}