mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-07 08:04:18 +01:00
Rename username to account
This commit is contained in:
@@ -53,7 +53,7 @@ public class DbusSignalControlImpl implements org.asamk.SignalControl {
|
||||
) throws Error.Failure, Error.InvalidNumber {
|
||||
if (!Manager.isValidNumber(number, null)) {
|
||||
throw new SignalControl.Error.InvalidNumber(
|
||||
"Invalid username (phone number), make sure you include the country code.");
|
||||
"Invalid account (phone number), make sure you include the country code.");
|
||||
}
|
||||
try (final RegistrationManager registrationManager = c.getNewRegistrationManager(number)) {
|
||||
registrationManager.register(voiceVerification, captcha);
|
||||
|
||||
Reference in New Issue
Block a user