Update libsignal-service-java

This commit is contained in:
AsamK 2019-07-13 14:22:20 +02:00
parent 35181251bf
commit 93ae4641fa
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ repositories {
} }
dependencies { 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 'org.bouncycastle:bcprov-jdk15on:1.61'
compile 'net.sourceforge.argparse4j:argparse4j:0.8.1' compile 'net.sourceforge.argparse4j:argparse4j:0.8.1'
compile 'org.freedesktop.dbus:dbus-java:2.7.0' compile 'org.freedesktop.dbus:dbus-java:2.7.0'

View file

@ -190,9 +190,9 @@ public class Manager implements Signal {
accountManager = new SignalServiceAccountManager(BaseConfig.serviceConfiguration, account.getUsername(), account.getPassword(), BaseConfig.USER_AGENT, timer); accountManager = new SignalServiceAccountManager(BaseConfig.serviceConfiguration, account.getUsername(), account.getPassword(), BaseConfig.USER_AGENT, timer);
if (voiceVerification) { if (voiceVerification) {
accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent()); accountManager.requestVoiceVerificationCode(Locale.getDefault(), Optional.<String>absent(), Optional.<String>absent());
} else { } else {
accountManager.requestSmsVerificationCode(false, Optional.<String>absent()); accountManager.requestSmsVerificationCode(false, Optional.<String>absent(), Optional.<String>absent());
} }
account.setRegistered(false); account.setRegistered(false);