mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 12:44:38 +00:00
Fix gift donation getting stuck in pending.
This commit is contained in:
committed by
Clark Chen
parent
3fa3b93c85
commit
abf22eff44
@@ -237,6 +237,10 @@ public class BoostReceiptRequestResponseJob extends BaseJob {
|
||||
receiptCredentialPresentation.serialize())
|
||||
.putBlobAsString(DonationReceiptRedemptionJob.INPUT_TERMINAL_DONATION, terminalDonation.encode())
|
||||
.serialize());
|
||||
|
||||
if (donationErrorSource == DonationErrorSource.GIFT) {
|
||||
SignalStore.donationsValues().setPendingOneTimeDonation(null);
|
||||
}
|
||||
} else {
|
||||
Log.w(TAG, "Encountered a retryable exception: " + response.getStatus(), response.getExecutionError().orElse(null), true);
|
||||
throw new RetryableException();
|
||||
|
||||
Reference in New Issue
Block a user