Skip to content

Commit

Permalink
add the fix to the decoded messages as well
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jan 24, 2024
1 parent 2c918ec commit d6eb8bd
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,13 @@ data class Conversations(
Log.d(TAG, "discarding message, unknown conversation $envelope")
return@mapNotNull null
}
val msg = conversation.decodeOrNull(envelope)
msg
try {
val msg = conversation.decodeOrNull(envelope)
msg
} catch (e: Exception) {
Log.e(TAG, "Error decrypting message: $envelope", e)
null
}
}
},
)
Expand Down

0 comments on commit d6eb8bd

Please sign in to comment.