Fix crash with GV2 group repair during storage sync.

This commit is contained in:
Greyson Parrelli 2021-07-14 16:04:12 -04:00
parent 69716dde4a
commit efec40ff57

View file

@ -466,7 +466,7 @@ private static final String[] GROUP_PROJECTION = {
GroupId.V2 groupId = GroupId.v2(groupMasterKey);
if (getGroupV1ByExpectedV2(groupId).isPresent()) {
throw new MissedGroupMigrationInsertException(groupId);
Log.w(TAG, "There already exists a V1 group that should be migrated into this group. But if the recipient already exists, there's not much we can do here.");
}
SQLiteDatabase db = databaseHelper.getWritableDatabase();