mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 19:10:38 +00:00
Update libsignal-service-java
This commit is contained in:
parent
3c2fa65e05
commit
942999b7b4
15 changed files with 60 additions and 52 deletions
|
@ -24,7 +24,11 @@ public record JsonSendMessageResult(
|
|||
? Type.SUCCESS
|
||||
: result.isNetworkFailure()
|
||||
? Type.NETWORK_FAILURE
|
||||
: result.isUnregisteredFailure() ? Type.UNREGISTERED_FAILURE : Type.IDENTITY_FAILURE,
|
||||
: result.isRateLimitFailure()
|
||||
? Type.RATE_LIMIT_FAILURE
|
||||
: result.isUnregisteredFailure()
|
||||
? Type.UNREGISTERED_FAILURE
|
||||
: Type.IDENTITY_FAILURE,
|
||||
result.proofRequiredFailure() != null ? result.proofRequiredFailure().getToken() : null,
|
||||
result.proofRequiredFailure() != null ? result.proofRequiredFailure().getRetryAfterSeconds() : null);
|
||||
}
|
||||
|
@ -34,5 +38,6 @@ public record JsonSendMessageResult(
|
|||
NETWORK_FAILURE,
|
||||
UNREGISTERED_FAILURE,
|
||||
IDENTITY_FAILURE,
|
||||
RATE_LIMIT_FAILURE,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue