mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Convert change number back to REST.
This commit is contained in:
committed by
Greyson Parrelli
parent
f8d8c8af2d
commit
193f6460b0
@@ -267,7 +267,7 @@ class ChangeNumberRepository(
|
||||
|
||||
SignalStore.misc.setPendingChangeNumberMetadata(metadata)
|
||||
withContext(Dispatchers.IO) {
|
||||
result = SignalNetwork.account.changeNumber(request)
|
||||
result = accountManager.registrationApi.changeNumber(request)
|
||||
}
|
||||
|
||||
val possibleError = result.getCause() as? MismatchedDevicesException
|
||||
|
||||
Reference in New Issue
Block a user