mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-16 19:18:52 +01:00
Silence error
This commit is contained in:
@@ -475,7 +475,7 @@ class MessageRepositoryImpl @Inject constructor(
|
||||
|
||||
val addresses = pdu.to.map { it.string }.filter { it.isNotBlank() }
|
||||
val parts = message.parts.mapNotNull { part ->
|
||||
val bytes = tryOrNull {
|
||||
val bytes = tryOrNull(false) {
|
||||
context.contentResolver.openInputStream(part.getUri())?.use { inputStream -> inputStream.readBytes() }
|
||||
} ?: return@mapNotNull null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user