mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 22:26:13 +00:00
Before this release, a send with no browser subscription counted as a failure, and five of them, or one 410, switched the WEB_PUSH channel off. Subscribing again stored the browser but left the channel off, so the card read "enabled", a test push arrived, and no reminder was ever sent. Subscribing now re-enables the channel, but nothing prompts the people already caught to subscribe again. The migration re-enables every WEB_PUSH channel the dispatcher switched off (a disabled_reason is set; a channel switched off by hand has none) whose account still has a subscription, and clears the counter, the cooldown and the last failure the same way reEnableChannel does.