Set default for DefaultTeamName setting if not present in config (#7987)

This commit is contained in:
Joram Wilander
2017-12-19 18:51:23 -05:00
committed by GitHub
parent 15347b5527
commit 0a2ffbc737

View File

@@ -1021,6 +1021,10 @@ func (s *TeamSettings) SetDefaults() {
if s.ExperimentalTownSquareIsReadOnly == nil {
s.ExperimentalTownSquareIsReadOnly = NewBool(false)
}
if s.DefaultTeamName == nil {
s.DefaultTeamName = NewString("")
}
}
type ClientRequirements struct {