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

@@ -120,7 +120,7 @@ class CameraContactsRepository {
List<Recipient> recipients = new ArrayList<>();
try (GroupDatabase.Reader reader = groupDatabase.getGroupsFilteredByTitle(query, false, true)) {
try (GroupDatabase.Reader reader = groupDatabase.getGroupsFilteredByTitle(query, false, true, true)) {
GroupDatabase.GroupRecord groupRecord;
while ((groupRecord = reader.getNext()) != null) {
RecipientId recipientId = recipientDatabase.getOrInsertFromGroupId(groupRecord.getId());