diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go index d40851a9a..f24abfe83 100644 --- a/model/config.go +++ b/model/config.go @@ -1105,6 +1105,7 @@ type TeamSettings struct { ExperimentalHideTownSquareinLHS *bool ExperimentalTownSquareIsReadOnly *bool ExperimentalPrimaryTeam *string + ExperimentalDefaultChannels []string } func (s *TeamSettings) SetDefaults() { @@ -1217,6 +1218,10 @@ func (s *TeamSettings) SetDefaults() { s.ExperimentalPrimaryTeam = NewString("") } + if s.ExperimentalDefaultChannels == nil { + s.ExperimentalDefaultChannels = []string{} + } + if s.EnableTeamCreation == nil { s.EnableTeamCreation = NewBool(true) } |