Update libsignal-service-java

This commit is contained in:
AsamK 2019-02-13 21:05:27 +01:00
parent 58895aaf03
commit c90d5db608
2 changed files with 2 additions and 2 deletions

View file

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