mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-17 04:34:27 +01:00
Update libsignal-service-java
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user