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
58895aaf03
commit
c90d5db608
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ repositories {
|
|||
}
|
||||
|
||||
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 'net.sourceforge.argparse4j:argparse4j:0.8.1'
|
||||
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.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.exit(2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue