Remove remote posts from NetworkTimelineService when processing Tombstones

This commit is contained in:
Daniel Supernault 2022-08-16 03:32:37 -06:00
parent 7718daa1fc
commit 2e4f23779d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -38,6 +38,7 @@ use App\Services\PollService;
use App\Services\FollowerService;
use App\Services\StatusService;
use App\Services\UserFilterService;
use App\Services\NetworkTimelineService;
use App\Models\Conversation;
use App\Jobs\ProfilePipeline\IncrementPostCount;
use App\Jobs\ProfilePipeline\DecrementPostCount;
@ -659,6 +660,7 @@ class Inbox
if(!$status) {
return;
}
NetworkTimelineService::del($status->id);
StatusService::del($status->id, true);
Notification::whereActorId($profile->id)
->whereItemType('App\Status')