import org.asamk.signal.commands.exceptions.IOErrorException;
import org.asamk.signal.commands.exceptions.UserErrorException;
import org.asamk.signal.manager.RegistrationManager;
-import org.whispersystems.signalservice.api.push.exceptions.CaptchaRequiredException;
+import org.asamk.signal.manager.api.CaptchaRequiredException;
import java.io.IOException;
} catch (CaptchaRequiredException e) {
String message;
if (captcha == null) {
- message = "Captcha required for verification, use --captcha CAPTCHA\n"
- + "To get the token, go to https://signalcaptchas.org/registration/generate.html\n"
- + "Check the developer tools (F12) console for a failed redirect to signalcaptcha://\n"
- + "Everything after signalcaptcha:// is the captcha token.";
+ message = """
+ Captcha required for verification, use --captcha CAPTCHA
+ To get the token, go to https://signalcaptchas.org/registration/generate.html
+ Check the developer tools (F12) console for a failed redirect to signalcaptcha://
+ Everything after signalcaptcha:// is the captcha token.""";
} else {
message = "Invalid captcha given.";
}