Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix pre-confirm status not working on subscriber update. Closes #1927.

Kailash Nadh51e3f1789bad
diff --git a/queries.sql b/queries.sql
index bb730869..0df08327 100644
--- a/queries.sql
+++ b/queries.sql
@@ -179,7 +179,6 @@ INSERT INTO subscriber_lists (subscriber_id, list_id, status)
-- When subscriber is edited from the admin form, retain the status. Otherwise, a blocklisted
-- subscriber when being re-enabled, their subscription statuses change.
WHEN subscriber_lists.status = 'confirmed' THEN 'confirmed'
- WHEN $9 = TRUE THEN subscriber_lists.status
ELSE $8::subscription_status
END
);