mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix push token timeout incorrectly preventing registration.
This commit is contained in:
committed by
Greyson Parrelli
parent
267ef66517
commit
c57994eb1b
@@ -481,8 +481,8 @@ object RegistrationRepository {
|
||||
} else {
|
||||
Log.i(TAG, "Push challenge timed out.")
|
||||
}
|
||||
Log.i(TAG, "Push challenge unsuccessful. Updating registration state accordingly.")
|
||||
return@withContext NetworkResult.ApplicationError<RegistrationSessionMetadataResponse>(NullPointerException())
|
||||
Log.i(TAG, "Push challenge unsuccessful. Continuing with session created without one.")
|
||||
return@withContext sessionCreationResponse
|
||||
} catch (ex: Exception) {
|
||||
Log.w(TAG, "Exception caught, but the earlier try block should have caught it?", ex)
|
||||
return@withContext NetworkResult.ApplicationError<RegistrationSessionMetadataResponse>(ex)
|
||||
|
||||
Reference in New Issue
Block a user