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