diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 7d62efc7f..019bdaab6 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -33,6 +33,7 @@ use App\Services\PollService; use App\Services\PushNotificationService; use App\Services\ReblogService; use App\Services\RelationshipService; +use App\Services\StoryIndexService; use App\Services\UserFilterService; use App\Status; use App\Story; @@ -1038,6 +1039,9 @@ class Inbox 'profile_id' => $profile->id, ]); + $index = app(StoryIndexService::class); + $index->markSeen($profile->id, $story->profile_id, $story->id, $story->created_at); + if ($view->wasRecentlyCreated == true) { $story->view_count++; $story->save();