mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Update libsignal-service-java
This commit is contained in:
parent
be0e8ddd8a
commit
17c24b3ff2
10 changed files with 33 additions and 11 deletions
|
@ -8,7 +8,7 @@ public class BaseConfig {
|
|||
public static final String PROJECT_VERSION = BaseConfig.class.getPackage().getImplementationVersion();
|
||||
|
||||
static final String USER_AGENT_SIGNAL_ANDROID = Optional.ofNullable(System.getenv("SIGNAL_CLI_USER_AGENT"))
|
||||
.orElse("Signal-Android/7.1.3");
|
||||
.orElse("Signal-Android/7.2.0");
|
||||
static final String USER_AGENT_SIGNAL_CLI = PROJECT_NAME == null
|
||||
? "signal-cli"
|
||||
: PROJECT_NAME + "/" + PROJECT_VERSION;
|
||||
|
|
|
@ -91,7 +91,7 @@ public class SendMessageResultUtils {
|
|||
return String.format(
|
||||
"CAPTCHA proof required for sending to \"%s\", available options \"%s\" with challenge token \"%s\", or wait \"%d\" seconds.\n"
|
||||
+ (
|
||||
failure.getOptions().contains(ProofRequiredException.Option.RECAPTCHA)
|
||||
failure.getOptions().contains(ProofRequiredException.Option.CAPTCHA)
|
||||
? """
|
||||
To get the captcha token, go to https://signalcaptchas.org/challenge/generate.html
|
||||
After solving the captcha, right-click on the "Open Signal" link and copy the link.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue