diff --git a/app/Http/Controllers/StoryController.php b/app/Http/Controllers/StoryController.php index 490875502..f097d05c3 100644 --- a/app/Http/Controllers/StoryController.php +++ b/app/Http/Controllers/StoryController.php @@ -106,7 +106,7 @@ class StoryController extends Controller $stories = Story::with('profile') ->whereIn('profile_id', $following) - ->groupBy('profile_id') + ->groupBy(['id', 'profile_id']) ->where('expires_at', '>', now()) ->orderByDesc('expires_at') ->take(9)