}
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'
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);
}