summaryrefslogtreecommitdiffstats
path: root/model/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/config.go')
-rw-r--r--model/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/model/config.go b/model/config.go
index 27fdb90ce..64bfc06ce 100644
--- a/model/config.go
+++ b/model/config.go
@@ -368,6 +368,7 @@ type TeamSettings struct {
UserStatusAwayTimeout *int64
MaxChannelsPerTeam *int64
MaxNotificationsPerChannel *int64
+ EnableConfirmNotificationsToChannel *bool
TeammateNameDisplay *string
ExperimentalTownSquareIsReadOnly *bool
}
@@ -855,6 +856,11 @@ func (o *Config) SetDefaults() {
*o.TeamSettings.MaxNotificationsPerChannel = 1000
}
+ if o.TeamSettings.EnableConfirmNotificationsToChannel == nil {
+ o.TeamSettings.EnableConfirmNotificationsToChannel = new(bool)
+ *o.TeamSettings.EnableConfirmNotificationsToChannel = true
+ }
+
if o.TeamSettings.ExperimentalTownSquareIsReadOnly == nil {
o.TeamSettings.ExperimentalTownSquareIsReadOnly = new(bool)
*o.TeamSettings.ExperimentalTownSquareIsReadOnly = false