Skip to content

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

fix: GetList double-counts subscriber_count (#3255)

Kenneth Krond2a0e120c178
diff --git a/internal/core/lists.go b/internal/core/lists.go
index 6b023d03..5a5ba3ac 100644
--- a/internal/core/lists.go
+++ b/internal/core/lists.go
@@ -98,10 +98,6 @@ func (c *Core) GetList(id int, uuid string) (models.List, error) {
if out.Tags == nil {
out.Tags = []string{}
}
- // Total counts.
- for _, c := range out.SubscriberCounts {
- out.SubscriberCount += c
- }
return out, nil
}