summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorChris Duarte <csduarte@users.noreply.github.com>2018-01-05 05:43:55 -0800
committerJoram Wilander <jwawilander@gmail.com>2018-01-05 08:43:55 -0500
commit74eb82cfaa5e90d9014ccf21cfa559495ef44745 (patch)
tree41568087c6046f2ab35fabf161e1b8ac0018e086 /model
parent45e372fb5bd5e96dd241ac9c0e6b0f3ab7de7caa (diff)
downloadchat-74eb82cfaa5e90d9014ccf21cfa559495ef44745.tar.gz
chat-74eb82cfaa5e90d9014ccf21cfa559495ef44745.tar.bz2
chat-74eb82cfaa5e90d9014ccf21cfa559495ef44745.zip
rename DefaultTeamName to ExperimentalPrimaryTeam (#8039)
Diffstat (limited to 'model')
-rw-r--r--model/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/model/config.go b/model/config.go
index d18874ea1..fb34d1a04 100644
--- a/model/config.go
+++ b/model/config.go
@@ -940,7 +940,7 @@ type TeamSettings struct {
EnableConfirmNotificationsToChannel *bool
TeammateNameDisplay *string
ExperimentalTownSquareIsReadOnly *bool
- DefaultTeamName *string
+ ExperimentalPrimaryTeam *string
}
func (s *TeamSettings) SetDefaults() {
@@ -1037,8 +1037,8 @@ func (s *TeamSettings) SetDefaults() {
s.ExperimentalTownSquareIsReadOnly = NewBool(false)
}
- if s.DefaultTeamName == nil {
- s.DefaultTeamName = NewString("")
+ if s.ExperimentalPrimaryTeam == nil {
+ s.ExperimentalPrimaryTeam = NewString("")
}
}