Skip to content

Commit

Permalink
Merge pull request #25 from tattersoftware/pushover-limit
Browse files Browse the repository at this point in the history
Enforce URL title limit
  • Loading branch information
MGatner committed Mar 11, 2021
2 parents a629ab9 + a2bc2fa commit 9dd0f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Actions/PushAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function execute(Submission $submission, array $params = []): Message
'message' => $submission->excerpt,
'html' => 0,
'url' => $submission->url,
'url_title' => $submission->title,
'url_title' => substr($submission->title, 0, 99), // Pushover's limit
];
$data = array_merge($data, $params['data'] ?? []);

Expand Down

0 comments on commit 9dd0f8a

Please sign in to comment.