From 7dc1bc7d9f2e9e2530d93e3296eb1cc5021cabc8 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 3 Nov 2018 21:22:08 -0600 Subject: [PATCH] Update LikePipeline --- app/Jobs/LikePipeline/LikePipeline.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/LikePipeline/LikePipeline.php b/app/Jobs/LikePipeline/LikePipeline.php index eb9e86b2b..f1c04b62e 100644 --- a/app/Jobs/LikePipeline/LikePipeline.php +++ b/app/Jobs/LikePipeline/LikePipeline.php @@ -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; }