Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

.

lotk988920ec10a3
diff --git a/core/internal/controller/batch_mail/batch_mail_v1_list_tasks.go b/core/internal/controller/batch_mail/batch_mail_v1_list_tasks.go
index 2917ccd0..9b915121 100644
--- a/core/internal/controller/batch_mail/batch_mail_v1_list_tasks.go
+++ b/core/internal/controller/batch_mail/batch_mail_v1_list_tasks.go
@@ -133,7 +133,7 @@ func (c *ControllerV1) ListTasks(ctx context.Context, req *v1.ListTasksReq) (res
if task.RecipientCount > 0 {
detail.Progress = int(float64(sentCount) / float64(task.RecipientCount) * 100)
- if detail.Progress > 100 || detail.Progress == 99 {
+ if detail.Progress > 100 || detail.Progress >= 98 {
detail.Progress = 100
}
} else {