High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
JavaScript campaigncampaign-managementemail-marketingemail-subscriptionlistmonkmailing-listnewsletternewsletter-managementnewsletter-softwareself-hostedsms-gatewaysmtptransactional-emails
Fix incorrect unsubscription behaviour in the public 'Manage' flow. Closes #1407.
Kailash Nadheafae46409ee
diff --git a/cmd/public.go b/cmd/public.goindex 561aaa9a..044e0aaf 100644--- a/cmd/public.go+++ b/cmd/public.go@@ -313,7 +313,7 @@ func handleSubscriptionPrefs(c echo.Context) error {unsubUUIDs := make([]string, 0, len(req.ListUUIDs))for _, s := range subs {- if _, ok := reqUUIDs[s.UUID]; !ok {+ if _, ok := reqUUIDs[s.UUID]; ok {unsubUUIDs = append(unsubUUIDs, s.UUID)}}