mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Update libsignal-service-java
This commit is contained in:
parent
35181251bf
commit
93ae4641fa
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.github.turasa:signal-service-java:2.13.4_unofficial_1'
|
||||
compile 'com.github.turasa:signal-service-java:2.13.5_unofficial_1'
|
||||
compile 'org.bouncycastle:bcprov-jdk15on:1.61'
|
||||
compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
|
||||
compile 'org.freedesktop.dbus:dbus-java:2.7.0'
|
||||
|
|
|
@ -190,9 +190,9 @@ public class Manager implements Signal {
|
|||
accountManager = new SignalServiceAccountManager(BaseConfig.serviceConfiguration, account.getUsername(), account.getPassword(), BaseConfig.USER_AGENT, timer);
|
||||
|
||||
if (voiceVerification) {
|
||||
accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent());
|
||||
accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent(), Optional.<String>absent());
|
||||
} else {
|
||||
accountManager.requestSmsVerificationCode(false, Optional.<String>absent());
|
||||
accountManager.requestSmsVerificationCode(false, Optional.<String>absent(), Optional.<String>absent());
|
||||
}
|
||||
|
||||
account.setRegistered(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue