mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-05 12:47:43 +00:00
A subscription's alerts were the prepaid ones: a retired subscription said "support ended", and nothing told the user a payment failed, an annual renewal was near, or a cancelled subscription still runs. The derived alert for a subscription is now, in order: subscription_ended once retired, payment_issue while the store retries, issue_failed as before, subscription_cancelled before paidThrough, and renewal_approaching from three days before an annual plan renews, with a wake at that moment. Monthly plans get no reminder, as there is no opt-out yet. The unreleased migration's down step clears an acked subscription_cancelled, which an older core cannot read. Run: 003-badge-subscriptions-ui, slice 7