catching some exceptions

This commit is contained in:
tibbi 2021-05-23 17:01:59 +02:00
parent 3b1ee82835
commit de54a88b2d
2 changed files with 10 additions and 4 deletions

View file

@ -188,8 +188,11 @@ class ThreadActivity : SimpleActivity() {
it.phoneNumbers.contains(it.name)
}
if (participants.isNotEmpty() && messages.hashCode() == cachedMessagesCode && !hasParticipantWithoutName) {
return@ensureBackgroundThread
try {
if (participants.isNotEmpty() && messages.hashCode() == cachedMessagesCode && !hasParticipantWithoutName) {
return@ensureBackgroundThread
}
} catch (ignored: Exception) {
}
setupParticipants()