mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update Inbox, improve status deletion cache invalidation
This commit is contained in:
parent
8018c46f1f
commit
1eba7f810a
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ use App\Util\ActivityPub\Validator\UndoFollow as UndoFollowValidator;
|
|||
|
||||
use App\Services\PollService;
|
||||
use App\Services\FollowerService;
|
||||
use App\Services\StatusService;
|
||||
use App\Models\Conversation;
|
||||
|
||||
class Inbox
|
||||
|
@ -644,6 +645,7 @@ class Inbox
|
|||
if(!$status) {
|
||||
return;
|
||||
}
|
||||
StatusService::del($status->id, true);
|
||||
Notification::whereActorId($profile->id)
|
||||
->whereItemType('App\Status')
|
||||
->whereItemId($status->id)
|
||||
|
|
Loading…
Reference in a new issue