Skip to content

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

Fix `List-Unsubscribe` header incorrectly sent on opt-in confirmation. Closes #2619.

Kailash Nadh38387d007926
diff --git a/cmd/main.go b/cmd/main.go
index 568dc6f6..c10f658d 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -181,7 +181,7 @@ func main() {
// Initialize the media store.
media = initMediaStore(ko)
- fbOptinNotify = makeOptinNotifyHook(ko.Bool("app.send_optin_confirmation"), urlCfg, queries, i18n)
+ fbOptinNotify = makeOptinNotifyHook(ko.Bool("privacy.unsubscribe_header"), urlCfg, queries, i18n)
// Crud core.
core = initCore(fbOptinNotify, queries, db, i18n, ko)