From 722954d0d0f6207ab10642acc4ddc4533192c4f3 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Fri, 10 Jan 2025 14:56:08 +0000 Subject: [PATCH] remove message returning limit --- src/Repository/MessagesRepository.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Repository/MessagesRepository.php b/src/Repository/MessagesRepository.php index 9def04b..9928f1c 100644 --- a/src/Repository/MessagesRepository.php +++ b/src/Repository/MessagesRepository.php @@ -24,7 +24,6 @@ class MessagesRepository extends ServiceEntityRepository ->andWhere('m.received IS NULL') ->setParameter('recipient', $user->getId()->toBinary()) ->orderBy('m.sent', 'ASC') - ->setMaxResults(5) ->getQuery() ->getResult() ;