Update LikePipeline

pull/547/head
Daniel Supernault 8 years ago
parent 97a632c987
commit 7dc1bc7d9f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save