X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FPushSubscription.php;h=895a0d0d2d3f45c23dd7aa075e7a468b1b401fdb;hb=3f309805919671ce0ae22f82f5a751050a07dce4;hp=f82f469146a5b4f988c97fe6f360891e10528973;hpb=8b7cb5d9efeab580c2592e0fbe301f7142b73a3d;p=friendica.git diff --git a/src/Worker/PushSubscription.php b/src/Worker/PushSubscription.php index f82f469146..895a0d0d2d 100644 --- a/src/Worker/PushSubscription.php +++ b/src/Worker/PushSubscription.php @@ -1,6 +1,6 @@ getMessageFromNotification($notification); - $title = $message['plain'] ?: ''; + $title = $message['plain'] ?? ''; $push = Subscription::create([ 'contentEncoding' => 'aesgcm', @@ -102,7 +101,6 @@ class PushSubscription ], ]); - // @todo Only used for logging? $payload = [ 'access_token' => $application_token['access_token'], 'preferred_locale' => $user['language'],