mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Only do local donation cancel if it's currently active.
This commit is contained in:
@@ -225,7 +225,7 @@ public final class StorageSyncHelper {
|
||||
InAppPaymentsRepository.setSubscriber(remoteSubscriber);
|
||||
}
|
||||
|
||||
if (update.getNew().isSubscriptionManuallyCancelled()) {
|
||||
if (update.getNew().isSubscriptionManuallyCancelled() && !update.getOld().isSubscriptionManuallyCancelled()) {
|
||||
SignalStore.donationsValues().updateLocalStateForManualCancellation(InAppPaymentSubscriberRecord.Type.DONATION);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user