diff --git a/app/Http/Controllers/StoryController.php b/app/Http/Controllers/StoryController.php index e35595a4..1c8890d8 100644 --- a/app/Http/Controllers/StoryController.php +++ b/app/Http/Controllers/StoryController.php @@ -68,6 +68,11 @@ class StoryController extends StoryComposeController 'avatar' => $profile['avatar'], 'local' => $profile['local'], 'username' => $profile['acct'], + 'latest' => [ + 'id' => $s->id, + 'type' => $s->type, + 'preview_url' => url(Storage::url($s->path)) + ], 'url' => $url, 'seen' => StoryService::hasSeen($pid, StoryService::latest($s->profile_id)), 'sid' => $s->id