Этот коммит содержится в:
Carlos Tadeu Panato Junior
2018-08-24 11:36:39 +02:00
коммит произвёл GitHub
родитель bba3bbd9f3 d2945cdd77
Коммит 5876b52ecd
7 изменённых файлов: 29 добавлений и 9 удалений

Просмотреть файл

@@ -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)
}
}