This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new f0526c29 Use library routines for getting private lists
f0526c29 is described below

commit f0526c29c6d27801cf0ea19529e4181ce11c45b1
Author: Sebb <[email protected]>
AuthorDate: Thu Aug 29 23:40:21 2024 +0100

    Use library routines for getting private lists
---
 www/secretary/workbench/views/actions/generic_reject.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/secretary/workbench/views/actions/generic_reject.json.rb 
b/www/secretary/workbench/views/actions/generic_reject.json.rb
index 1cc96daf..f5afe45f 100644
--- a/www/secretary/workbench/views/actions/generic_reject.json.rb
+++ b/www/secretary/workbench/views/actions/generic_reject.json.rb
@@ -19,7 +19,7 @@ task "email #{message.from}" do
     from: @from,
     cc: [
       '[email protected]',
-      ("private@#{@pmc.mail_list}.apache.org" if @pmc), # copy pmc if selected
+      (@pmc.private_mail_list if @pmc), # copy pmc if selected
       @podling&.private_mail_list # copy podling if selected
     ],
     body: template("#{@doctype}.erb")

Reply via email to