1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

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