]> nmode's Git Repositories - signal-cli/commitdiff
Update dependency
authorAsamK <asamk@gmx.de>
Sat, 18 Feb 2017 12:15:02 +0000 (13:15 +0100)
committerAsamK <asamk@gmx.de>
Sat, 18 Feb 2017 12:15:02 +0000 (13:15 +0100)
build.gradle
src/main/java/org/asamk/signal/Manager.java

index d9478372b215124e2582a578ce58aa646a8c9cf3..9d3b2b4f07e7089b64fd01b0494334e8075b42ab 100644 (file)
@@ -18,7 +18,7 @@ repositories {
 }
 
 dependencies {
 }
 
 dependencies {
-    compile 'com.github.turasa:signal-service-java:2.4.7_unofficial_3'
+    compile 'com.github.turasa:signal-service-java:2.5.0_unofficial_1'
     compile 'org.bouncycastle:bcprov-jdk15on:1.55'
     compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
     compile 'org.freedesktop.dbus:dbus-java:2.7.0'
     compile 'org.bouncycastle:bcprov-jdk15on:1.55'
     compile 'net.sourceforge.argparse4j:argparse4j:0.7.0'
     compile 'org.freedesktop.dbus:dbus-java:2.7.0'
index d51e8b575ef2f884f60ebea2c9b1439040863b35..578565efd78fe3a48f2567e1e1aef7a48e43788b 100644 (file)
@@ -357,7 +357,7 @@ class Manager implements Signal {
     }
 
     public void updateAccountAttributes() throws IOException {
     }
 
     public void updateAccountAttributes() throws IOException {
-        accountManager.setAccountAttributes(signalingKey, signalProtocolStore.getLocalRegistrationId(), false, true);
+        accountManager.setAccountAttributes(signalingKey, signalProtocolStore.getLocalRegistrationId(), false, false,true);
     }
 
     public void unregister() throws IOException {
     }
 
     public void unregister() throws IOException {
@@ -507,7 +507,7 @@ class Manager implements Signal {
     public void verifyAccount(String verificationCode) throws IOException {
         verificationCode = verificationCode.replace("-", "");
         signalingKey = Util.getSecret(52);
     public void verifyAccount(String verificationCode) throws IOException {
         verificationCode = verificationCode.replace("-", "");
         signalingKey = Util.getSecret(52);
-        accountManager.verifyAccountWithCode(verificationCode, signalingKey, signalProtocolStore.getLocalRegistrationId(), false, true);
+        accountManager.verifyAccountWithCode(verificationCode, signalingKey, signalProtocolStore.getLocalRegistrationId(), false, false,true);
 
         //accountManager.setGcmId(Optional.of(GoogleCloudMessaging.getInstance(this).register(REGISTRATION_ID)));
         registered = true;
 
         //accountManager.setGcmId(Optional.of(GoogleCloudMessaging.getInstance(this).register(REGISTRATION_ID)));
         registered = true;