diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/GroupTable.kt b/app/src/main/java/org/thoughtcrime/securesms/database/GroupTable.kt index 592ac6f6c..6ab9adb57 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/GroupTable.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/database/GroupTable.kt @@ -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) } + + getGroup(cursor) } else { Optional.empty() }