Optionally limit sending to one user.

This commit is contained in:
Dominik Pantůček 2023-04-11 14:37:49 +02:00
parent 9c9386535b
commit 9498350d92

View file

@ -315,7 +315,10 @@
(let () (let ()
(print "Notify" (-notify-months-)) (print "Notify" (-notify-months-))
(let loop ((lst nmembers)) (let loop ((lst nmembers))
(when (not (null? lst)) (when (and (not (null? lst))
(or (not mr)
(eq? (member-id mr)
(member-id (car lst)))))
(if (-send-emails-) (if (-send-emails-)
(make+send-reminder-email (car lst)) (make+send-reminder-email (car lst))
(make+print-reminder-email (car lst))) (make+print-reminder-email (car lst)))