Skip to content

Commit

Permalink
Merge pull request #1798 from dpoon/issue-1797 by dpoon
Browse files Browse the repository at this point in the history
Fix cross-robot list inclusion (#1797)
  • Loading branch information
ikedas authored Sep 6, 2024
2 parents a91fd61 + 8ff0448 commit 2101d9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/Sympa/DataSource/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ sub _new {

my $list = $self->{context};
if (ref $list eq 'Sympa::List') {
my $inlist = Sympa::List->new($self->{listname}, $list->{'domain'},
my $inlist = Sympa::List->new($self->{listname},
($self->{listname} =~ /\@/ ? undef : $list->{'domain'}),
{just_try => 1});
$self->{listname} = $inlist->get_id if $inlist;
}
Expand Down

0 comments on commit 2101d9c

Please sign in to comment.