Convert change number back to REST.

This commit is contained in:
Cody Henthorne
2025-04-14 19:59:32 -04:00
committed by Greyson Parrelli
parent f8d8c8af2d
commit 193f6460b0
3 changed files with 24 additions and 1 deletions

View File

@@ -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