Skip to content

Commit

Permalink
INFO mail command pulls different owners and/or moderators than those…
Browse files Browse the repository at this point in the history
… with web UI (sympa-community#1732)
  • Loading branch information
ikedas committed Nov 2, 2023
1 parent c33f7f0 commit 343f1b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/Sympa/Request/Handler/info.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 343f1b0

Please sign in to comment.