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() ;