forked from mirror/pixelfed
Update Inbox, delete notifications on tombstone
This commit is contained in:
parent
cfccb6f251
commit
ef63124d88
1 changed files with 605 additions and 601 deletions
|
@ -500,6 +500,10 @@ class Inbox
|
|||
->orWhere('url', $id)
|
||||
->orWhere('object_url', $id)
|
||||
->first();
|
||||
Notification::whereActorId($profile->id)
|
||||
->whereItemType('App\Status')
|
||||
->whereItemId($status->id)
|
||||
->forceDelete();
|
||||
if(!$status) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue