mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-24 11:45:28 +00:00
Enqueue AccountConsistency check when prekey syncs fail.
This commit is contained in:
@@ -287,7 +287,10 @@ class PreKeysSyncJob private constructor(
|
||||
}
|
||||
}
|
||||
|
||||
override fun onFailure() = Unit
|
||||
override fun onFailure() {
|
||||
Log.w(TAG, "Failed to sync prekeys. Enqueuing an account consistency check.")
|
||||
ApplicationDependencies.getJobManager().add(AccountConsistencyWorkerJob())
|
||||
}
|
||||
|
||||
private fun log(serviceIdType: ServiceIdType, message: String) {
|
||||
Log.i(TAG, "[$serviceIdType] $message")
|
||||
|
||||
Reference in New Issue
Block a user