fix: fallback on biometric key failures and retry creating key, fix up notification issues

This commit is contained in:
jubb
2022-06-21 16:17:01 +10:00
parent 58dfd3b7cd
commit ba60e8a8ee
6 changed files with 58 additions and 15 deletions

View File

@@ -135,14 +135,12 @@ class BatchMessageReceiveJob(
}
storage.incrementUnread(threadId, trueUnreadCount)
storage.updateThread(threadId, true)
SSKEnvironment.shared.notificationManager.updateNotification(context, threadId)
}
}
// await all thread processing
deferredThreadMap.awaitAll()
}
SSKEnvironment.shared.notificationManager.updateNotification(context)
if (failures.isEmpty()) {
handleSuccess()
} else {