kopia lustrzana https://github.com/ryukoposting/Signal-Android
Improve logging around rate-limiting.
rodzic
9f995d61f4
commit
a940487611
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue