1
0
Fork 1
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:
Daniel Supernault 2022-06-19 00:14:05 -06:00
parent 8018c46f1f
commit 1eba7f810a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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)