mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Remove remote posts from NetworkTimelineService when processing Tombstones
This commit is contained in:
parent
7718daa1fc
commit
2e4f23779d
1 changed files with 2 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue