Convert GroupId to Kotlin.

This commit is contained in:
Alex Hart
2025-09-18 10:35:37 -03:00
committed by Jeffrey Starke
parent 9350438866
commit bea204ab82
5 changed files with 336 additions and 335 deletions

View File

@@ -3745,7 +3745,7 @@ open class RecipientTable(context: Context, databaseHelper: SignalDatabase) : Da
}
if (blockedGroupIds.isNotEmpty()) {
val groupIds: List<GroupId.V1> = blockedGroupIds.mapNotNull { raw ->
val groupIds: List<GroupId.V1> = blockedGroupIds.filterNotNull().mapNotNull { raw ->
try {
GroupId.v1(raw)
} catch (e: BadGroupIdException) {