Verified Commit d4955999 authored by Richard Weinhold's avatar Richard Weinhold 🔨

fixes typo...

parent c76fc424
......@@ -33,7 +33,7 @@ class FCMHandler extends PushHandler {
$payload = [
'priority' => 'high',
'notification' => [
'title' => substr($message, 0, 64) . (strlen($message) > 64 ? '...' : ''),
'title' => (strlen($message) > 64 ? substr($message, 0, 61) . '...' : $message),
'body' => $message,
],
'data' => array_merge([
......
......@@ -32,7 +32,7 @@ class GCMHandler extends PushHandler {
// build payload
$payload = [
'notification' => [
'title' => (strlen($message) > 64 ? substr($message, 0, 61) . '...' : ''),
'title' => (strlen($message) > 64 ? substr($message, 0, 61) . '...' : $message),
'body' => $message,
],
'data' => array_merge([
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment