mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
1b959608c3
commit
a1d552698a
2 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ public class AccountHelper {
|
|||
(sessionId1, verificationCode1, registrationLock) -> {
|
||||
final var registrationApi = dependencies.getRegistrationApi();
|
||||
try {
|
||||
Utils.handleResponseException(registrationApi.verifyAccount(verificationCode1, sessionId1));
|
||||
Utils.handleResponseException(registrationApi.verifyAccount(sessionId1, verificationCode1));
|
||||
} catch (AlreadyVerifiedException e) {
|
||||
// Already verified so can continue changing number
|
||||
}
|
||||
|
|
|
@ -258,7 +258,7 @@ public class RegistrationManagerImpl implements RegistrationManager {
|
|||
) throws IOException {
|
||||
final var registrationApi = unauthenticatedAccountManager.getRegistrationApi();
|
||||
try {
|
||||
Utils.handleResponseException(registrationApi.verifyAccount(verificationCode, sessionId));
|
||||
Utils.handleResponseException(registrationApi.verifyAccount(sessionId, verificationCode));
|
||||
} catch (AlreadyVerifiedException e) {
|
||||
// Already verified so can continue registering
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue