Update libsignal-service-java
This commit is contained in:
parent
58895aaf03
commit
c90d5db608
@ -20,7 +20,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.github.turasa:signal-service-java:2.12.4_unofficial_1'
|
compile 'com.github.turasa:signal-service-java:2.12.7_unofficial_1'
|
||||||
compile 'org.bouncycastle:bcprov-jdk15on:1.60'
|
compile 'org.bouncycastle:bcprov-jdk15on:1.60'
|
||||||
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'
|
||||||
|
@ -210,7 +210,7 @@ public class Main {
|
|||||||
System.err.println("You need to specify a username (phone number)");
|
System.err.println("You need to specify a username (phone number)");
|
||||||
System.exit(2);
|
System.exit(2);
|
||||||
}
|
}
|
||||||
if (!PhoneNumberFormatter.isValidNumber(ns.getString("username"))) {
|
if (!PhoneNumberFormatter.isValidNumber(ns.getString("username"), null)) {
|
||||||
System.err.println("Invalid username (phone number), make sure you include the country code.");
|
System.err.println("Invalid username (phone number), make sure you include the country code.");
|
||||||
System.exit(2);
|
System.exit(2);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user