mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Allow initialization of registration V2 without FCM.
This commit is contained in:
committed by
Alex Hart
parent
9c5bb4aa17
commit
9af73b1409
@@ -267,10 +267,7 @@ object RegistrationRepository {
|
||||
|
||||
val result = (
|
||||
if (fcmToken == null) {
|
||||
// TODO [regv2]
|
||||
val notImplementedError = NotImplementedError()
|
||||
Log.w(TAG, "Not yet implemented!", notImplementedError)
|
||||
NetworkResult.ApplicationError(notImplementedError)
|
||||
api.createRegistrationSession(null, mcc, mnc)
|
||||
} else {
|
||||
createSessionAndBlockForPushChallenge(api, fcmToken, mcc, mnc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user