1
0
Fork 0
forked from mirror/pixelfed

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

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;
}