mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Catch ProofRequiredException from getPreKeys request and wrap in SendMessageResult
This commit is contained in:
parent
0e6644a890
commit
a17262d9ff
2 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,7 @@ public class ErrorUtils {
|
|||
} else if (result.getProofRequiredFailure() != null) {
|
||||
final var failure = result.getProofRequiredFailure();
|
||||
return String.format(
|
||||
"CAPTCHA proof required for sending to \"%s\", available options \"%s\" with token \"%s\", or wait \"%d\" seconds",
|
||||
"CAPTCHA proof required for sending to \"%s\", available options \"%s\" with challenge token \"%s\", or wait \"%d\" seconds",
|
||||
identifier,
|
||||
failure.getOptions()
|
||||
.stream()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue