mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Remove crash for group remap updates.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user