kopia lustrzana https://github.com/ryukoposting/Signal-Android
Remove crash for group remap updates.
rodzic
23d0152767
commit
ce4e84aadc
|
@ -237,13 +237,13 @@ class GroupTable(context: Context?, databaseHelper: SignalDatabase?) : DatabaseT
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updateCount > 0) {
|
if (updateCount > 0) {
|
||||||
getGroup(groupId)
|
Log.i(TAG, "Successfully updated $updateCount rows. GroupId: $groupId, Remaps: $remaps", true)
|
||||||
} else {
|
} 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 {
|
} else {
|
||||||
Optional.empty()
|
Optional.empty()
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue