From d4eccccbfe997229129c69e6f4cba114aced236e Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 10 Dec 2025 10:56:19 +0100 Subject: [PATCH] fix(reminders): only send reminders to active users --- pkg/models/task_reminder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/models/task_reminder.go b/pkg/models/task_reminder.go index 2a44477fe..c52a55cf9 100644 --- a/pkg/models/task_reminder.go +++ b/pkg/models/task_reminder.go @@ -149,6 +149,7 @@ func getTaskUsersForTasks(s *xorm.Session, taskIDs []int64, cond builder.Cond) ( conditions := []builder.Cond{ builder.In("tasks.id", taskIDs), + builder.Eq{"users.status": user.StatusActive}, } if cond != nil { conditions = append(conditions, cond)