Fix crash when adding person to an existing mms group.

This commit is contained in:
Cody Henthorne
2021-06-22 17:03:20 -04:00
committed by GitHub
parent 2bfe1198d1
commit 1dca3698d2
5 changed files with 10 additions and 5 deletions

View File

@@ -168,7 +168,7 @@ public class SearchRepository {
}
GroupDatabase.GroupRecord record;
try (GroupDatabase.Reader reader = DatabaseFactory.getGroupDatabase(context).getGroupsFilteredByTitle(query, true, false)) {
try (GroupDatabase.Reader reader = DatabaseFactory.getGroupDatabase(context).getGroupsFilteredByTitle(query, true, false, false)) {
while ((record = reader.getNext()) != null) {
recipientIds.add(record.getRecipientId());
}