remove message returning limit

This commit is contained in:
Ryan Prather 2025-01-10 14:56:08 +00:00
parent 57e002916c
commit 722954d0d0

View File

@ -24,7 +24,6 @@ class MessagesRepository extends ServiceEntityRepository
->andWhere('m.received IS NULL') ->andWhere('m.received IS NULL')
->setParameter('recipient', $user->getId()->toBinary()) ->setParameter('recipient', $user->getId()->toBinary())
->orderBy('m.sent', 'ASC') ->orderBy('m.sent', 'ASC')
->setMaxResults(5)
->getQuery() ->getQuery()
->getResult() ->getResult()
; ;