From 94b2eca2d1b6d9c75cc2ed702ccfa38b58a9cf86 Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Fri, 25 May 2018 04:41:30 +0800 Subject: add ExperimentalHideTownSquareinLHS in config setting (#8751) --- model/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'model/config.go') diff --git a/model/config.go b/model/config.go index 7c11860d2..deaae6db8 100644 --- a/model/config.go +++ b/model/config.go @@ -1022,6 +1022,7 @@ type TeamSettings struct { EnableConfirmNotificationsToChannel *bool TeammateNameDisplay *string ExperimentalEnableAutomaticReplies *bool + ExperimentalHideTownSquareinLHS *bool ExperimentalTownSquareIsReadOnly *bool ExperimentalPrimaryTeam *string } @@ -1120,6 +1121,10 @@ func (s *TeamSettings) SetDefaults() { s.ExperimentalEnableAutomaticReplies = NewBool(false) } + if s.ExperimentalHideTownSquareinLHS == nil { + s.ExperimentalHideTownSquareinLHS = NewBool(false) + } + if s.ExperimentalTownSquareIsReadOnly == nil { s.ExperimentalTownSquareIsReadOnly = NewBool(false) } -- cgit v1.2.3-1-g7c22