summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2018-08-22 20:12:51 +0100
committerCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-08-22 21:12:51 +0200
commitd2945cdd77bdf1ee03367a0d45624094fb936c19 (patch)
tree7289f0a5d85b7c37e1fe5bf02cb40ab30623d0fa /model
parent43483805eabcb36ef9018f12a82a6d3ac055baf5 (diff)
downloadchat-d2945cdd77bdf1ee03367a0d45624094fb936c19.tar.gz
chat-d2945cdd77bdf1ee03367a0d45624094fb936c19.tar.bz2
chat-d2945cdd77bdf1ee03367a0d45624094fb936c19.zip
MM-11782: Make archived channels experimental and off-by-default. (#9281)
* MM-11782: Make archived channels experimental and off-by-default. * Fix test.
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 e38c993a8..a7044d9e1 100644
--- a/model/config.go
+++ b/model/config.go
@@ -1125,7 +1125,7 @@ type TeamSettings struct {
MaxNotificationsPerChannel *int64
EnableConfirmNotificationsToChannel *bool
TeammateNameDisplay *string
- ViewArchivedChannels *bool
+ ExperimentalViewArchivedChannels *bool
ExperimentalEnableAutomaticReplies *bool
ExperimentalHideTownSquareinLHS *bool
ExperimentalTownSquareIsReadOnly *bool
@@ -1255,8 +1255,8 @@ func (s *TeamSettings) SetDefaults() {
s.EnableUserCreation = NewBool(true)
}
- if s.ViewArchivedChannels == nil {
- s.ViewArchivedChannels = NewBool(true)
+ if s.ExperimentalViewArchivedChannels == nil {
+ s.ExperimentalViewArchivedChannels = NewBool(false)
}
}