From 343f1b0c8e5fbb5b0ab25f8099aa3d25604b60de Mon Sep 17 00:00:00 2001 From: IKEDA Soji Date: Thu, 2 Nov 2023 10:48:29 +0900 Subject: [PATCH] INFO mail command pulls different owners and/or moderators than those with web UI (#1732) --- src/lib/Sympa/Request/Handler/info.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/Sympa/Request/Handler/info.pm b/src/lib/Sympa/Request/Handler/info.pm index 11003aa11..16a1d149c 100644 --- a/src/lib/Sympa/Request/Handler/info.pm +++ b/src/lib/Sympa/Request/Handler/info.pm @@ -92,6 +92,10 @@ sub _twist { $data->{'url'} = Sympa::get_url($list, 'info'); + # Owners and moderators no longer are saved in the config file. + $data->{owner} = [$list->get_admins('owner')]; + $data->{editor} = [$list->get_admins('editor')]; + unless (Sympa::send_file($list, 'info_report', $sender, $data)) { $log->syslog('notice', 'Unable to send template "info_report" to %s', $sender);