mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-01-26 18:53:34 +00:00
parent
7b08225c57
commit
1fcedca0f1
@ -285,6 +285,9 @@ public class AccountHelper {
|
||||
}
|
||||
|
||||
final var sessionId = account.getSessionId(newNumber);
|
||||
if (sessionId == null) {
|
||||
throw new IOException("No change number verification session active");
|
||||
}
|
||||
final var result = NumberVerificationUtils.verifyNumber(sessionId,
|
||||
verificationCode,
|
||||
pin,
|
||||
|
||||
@ -161,7 +161,11 @@ public class RegistrationManagerImpl implements RegistrationManager {
|
||||
|
||||
final var aciPreKeys = generatePreKeysForType(account.getAccountData(ServiceIdType.ACI));
|
||||
final var pniPreKeys = generatePreKeysForType(account.getAccountData(ServiceIdType.PNI));
|
||||
final var result = NumberVerificationUtils.verifyNumber(account.getSessionId(account.getNumber()),
|
||||
final var sessionId = account.getSessionId(account.getNumber());
|
||||
if (sessionId == null) {
|
||||
throw new IOException("No registration verification session active");
|
||||
}
|
||||
final var result = NumberVerificationUtils.verifyNumber(sessionId,
|
||||
verificationCode,
|
||||
pin,
|
||||
pinHelper,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user