diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-05-19 14:33:04 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-05-19 14:33:04 -0400 |
commit | 1492d1a3cbe551395aab9f6da27c91def62f51cb (patch) | |
tree | 1d1249ef5f66155cea994e44bf5c5a96703d0a1b /utils/config.go | |
parent | fd24902194de00373fa710d5ed138fc1dfeab532 (diff) | |
download | chat-1492d1a3cbe551395aab9f6da27c91def62f51cb.tar.gz chat-1492d1a3cbe551395aab9f6da27c91def62f51cb.tar.bz2 chat-1492d1a3cbe551395aab9f6da27c91def62f51cb.zip |
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
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |