mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update code style for text blocks
This commit is contained in:
parent
621d822a6c
commit
69e952738b
4 changed files with 27 additions and 26 deletions
|
@ -69,10 +69,10 @@ public class RegisterCommand implements RegistrationCommand, JsonRpcRegistration
|
|||
String message;
|
||||
if (captcha == null) {
|
||||
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.""";
|
||||
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.";
|
||||
}
|
||||
|
|
|
@ -84,11 +84,11 @@ public class SendMessageResultUtils {
|
|||
+ (
|
||||
failure.getOptions().contains(ProofRequiredException.Option.RECAPTCHA)
|
||||
? """
|
||||
To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html
|
||||
Check the developer tools (F12) console for a failed redirect to signalcaptcha://
|
||||
Everything after signalcaptcha:// is the captcha token.
|
||||
Use the following command to submit the captcha token:
|
||||
signal-cli submitRateLimitChallenge --challenge CHALLENGE_TOKEN --captcha CAPTCHA_TOKEN"""
|
||||
To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html
|
||||
Check the developer tools (F12) console for a failed redirect to signalcaptcha://
|
||||
Everything after signalcaptcha:// is the captcha token.
|
||||
Use the following command to submit the captcha token:
|
||||
signal-cli submitRateLimitChallenge --challenge CHALLENGE_TOKEN --captcha CAPTCHA_TOKEN"""
|
||||
: ""
|
||||
),
|
||||
identifier,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue