mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Convert GroupId to Kotlin.
This commit is contained in:
committed by
Jeffrey Starke
parent
9350438866
commit
bea204ab82
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user