Meaningful notification message

This commit is contained in:
Michael 2021-08-19 13:58:55 +00:00
parent f0bb83c225
commit 6899d3c618
4 changed files with 321 additions and 98 deletions

View file

@ -82,8 +82,8 @@ class PushSubscription
}
}
// @todo Add a meaningful title here, see the functionality in enotify.php
$title = '';
$message = Notification::getMessage($notification);
$title = $message['plain'] ?: '';
$push = Subscription::create([
'contentEncoding' => 'aesgcm',