Group messages by group ID when fetching them from database.

This commit is contained in:
akwizgran
2021-02-26 12:45:26 +00:00
committed by Torsten Grote
parent 56e0d62597
commit 43b437af92
6 changed files with 30 additions and 39 deletions

View File

@@ -342,7 +342,7 @@ public interface DatabaseComponent extends TransactionManager {
* <p/>
* Read-only.
*/
Map<MessageId, GroupId> getMessagesToDelete(Transaction txn)
Map<GroupId, Collection<MessageId>> getMessagesToDelete(Transaction txn)
throws DbException;
/**