about summary refs log tree commit diff
path: root/app/models/web
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-07-28 05:06:22 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-07-28 05:06:22 +0200
commite67fc997dcb1c0e9e7e84d5f2d9247042024bfcb (patch)
tree0cca45070ff2378818b9917a0d0dc529bf7babf6 /app/models/web
parent3e01a7e6774fe92658d2afbb2c957afa431018b3 (diff)
feat(web_push_notifications): Group notifications (#4388)
Diffstat (limited to 'app/models/web')
-rw-r--r--app/models/web/push_subscription.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/web/push_subscription.rb b/app/models/web/push_subscription.rb
index 02002db5a..7356ed882 100644
--- a/app/models/web/push_subscription.rb
+++ b/app/models/web/push_subscription.rb
@@ -53,6 +53,7 @@ class Web::PushSubscription < ApplicationRecord
           url: url,
           actions: actions,
           access_token: access_token,
+          message: translate('push_notifications.group.title'), # Do not pass count, will be formatted in the ServiceWorker
         }
       ),
       endpoint: endpoint,