fix(web_push_notifications): Send message with welcome notifications (#4471)
* fix(web_push_notifications): Send grouping title in welcome notification * fix(web_push_notifications): Read message from last notification
This commit is contained in:
parent
e05606c8d0
commit
d4c4820c03
2 changed files with 3 additions and 2 deletions
|
@ -161,6 +161,7 @@ class Web::PushSubscription < ApplicationRecord
|
|||
content: translate('push_notifications.subscribed.body'),
|
||||
actions: [],
|
||||
url: web_url('notifications'),
|
||||
message: translate('push_notifications.group.title'), # Do not pass count, will be formatted in the ServiceWorker
|
||||
}
|
||||
),
|
||||
endpoint: endpoint,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue