Skip to content

Commit

Permalink
Merge pull request #1734 from ikedas/issue-1732
Browse files Browse the repository at this point in the history
INFO mail command pulls different owners and/or moderators than those with web UI (#1732)
  • Loading branch information
racke authored Dec 1, 2023
2 parents 3ced165 + 343f1b0 commit 19db897
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 @@ -88,6 +88,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 19db897

Please sign in to comment.