mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 10:46:50 +00:00
Improve logging around rate-limiting.
This commit is contained in:
@@ -467,6 +467,8 @@ public abstract class PushSendJob extends SendJob {
|
||||
protected void handleProofRequiredException(@NonNull ProofRequiredException proofRequired, @Nullable Recipient recipient, long threadId, long messageId, boolean isMms)
|
||||
throws ProofRequiredException, RetryLaterException
|
||||
{
|
||||
Log.w(TAG, "[Proof Required] Options: " + proofRequired.getOptions());
|
||||
|
||||
try {
|
||||
if (proofRequired.getOptions().contains(ProofRequiredException.Option.PUSH_CHALLENGE)) {
|
||||
ApplicationDependencies.getSignalServiceAccountManager().requestRateLimitPushChallenge();
|
||||
|
||||
@@ -48,6 +48,8 @@ public final class RecaptchaProofBottomSheetFragment extends BottomSheetDialogFr
|
||||
|
||||
@Override
|
||||
public void show(@NonNull FragmentManager manager, @Nullable String tag) {
|
||||
Log.i(TAG, "Showing reCAPTCHA proof bottom sheet.");
|
||||
|
||||
if (manager.findFragmentByTag(tag) == null) {
|
||||
BottomSheetUtil.show(manager, tag, this);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user