Remove crash for group remap updates.

This commit is contained in:
Greyson Parrelli 2023-02-16 13:03:10 -05:00
parent 23d0152767
commit ce4e84aadc

View file

@ -237,13 +237,13 @@ class GroupTable(context: Context?, databaseHelper: SignalDatabase?) : DatabaseT
}
if (updateCount > 0) {
getGroup(groupId)
Log.i(TAG, "Successfully updated $updateCount rows. GroupId: $groupId, Remaps: $remaps", true)
} else {
throw IllegalStateException("Failed to update group with remapped recipients!")
Log.w(TAG, "Failed to update any rows. GroupId: $groupId, Remaps: $remaps", true)
}
} else {
}
getGroup(cursor)
}
} else {
Optional.empty()
}