Update ActivityPub inbox, properly handle eloquent deletions to trigger observer events

pull/6348/head
Daniel Supernault 2 days ago
parent 590e9b2434
commit 1ed48c5df2
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -921,7 +921,7 @@ class Inbox
$notifications = Notification::whereProfileId($status->profile_id)
->whereActorId($profile->id)
->whereAction('share')
->whereItemId($status->reblog_of_id)
->whereItemId($status->id)
->whereItemType('App\Status')
->get();
foreach ($notifications as $notification) {

Loading…
Cancel
Save