Update LikePipeline

This commit is contained in:
Daniel Supernault 2018-11-03 21:22:08 -06:00
parent 97a632c987
commit 7dc1bc7d9f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ class LikePipeline implements ShouldQueue
$status = $this->like->status;
$actor = $this->like->actor;
if ($status->url !== null) {
// Ignore notifications to remote statuses
if (!$status || $status->url !== null) {
// Ignore notifications to remote statuses, or deleted statuses
return;
}