From 1492d1a3cbe551395aab9f6da27c91def62f51cb Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 19 May 2016 14:33:04 -0400 Subject: PLT-2664 Split out push notifications from email notifications (#3049) * Split out push and email notification logic, always send push notifications on mention * Add user setting to control push notifications * Minor changeto simplify code --- utils/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'utils') diff --git a/utils/config.go b/utils/config.go index 35629718c..9ac1617cd 100644 --- a/utils/config.go +++ b/utils/config.go @@ -219,6 +219,7 @@ func getClientConfig(c *model.Config) map[string]string { props["EnableDeveloper"] = strconv.FormatBool(*c.ServiceSettings.EnableDeveloper) props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications) + props["SendPushNotifications"] = strconv.FormatBool(*c.EmailSettings.SendPushNotifications) props["EnableSignUpWithEmail"] = strconv.FormatBool(c.EmailSettings.EnableSignUpWithEmail) props["EnableSignInWithEmail"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithEmail) props["EnableSignInWithUsername"] = strconv.FormatBool(*c.EmailSettings.EnableSignInWithUsername) -- cgit v1.2.3-1-g7c22