From 7ed1177a2b676aa4c93515268642c855cfe57a37 Mon Sep 17 00:00:00 2001 From: Chris Duarte Date: Fri, 8 Dec 2017 11:15:48 -0800 Subject: add config option to hide tutorial screens (#7840) --- model/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'model') diff --git a/model/config.go b/model/config.go index 544f9b33f..918d15b9a 100644 --- a/model/config.go +++ b/model/config.go @@ -212,6 +212,7 @@ type ServiceSettings struct { ClusterLogTimeoutMilliseconds *int CloseUnusedDirectMessages *bool EnablePreviewFeatures *bool + EnableTutorial *bool } func (s *ServiceSettings) SetDefaults() { @@ -331,6 +332,10 @@ func (s *ServiceSettings) SetDefaults() { s.CloseUnusedDirectMessages = NewBool(false) } + if s.EnableTutorial == nil { + s.EnableTutorial = NewBool(true) + } + if s.SessionLengthWebInDays == nil { s.SessionLengthWebInDays = NewInt(30) } -- cgit v1.2.3-1-g7c22