Skip to content

Commit

Permalink
small formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
justingit committed Apr 25, 2023
1 parent 94d615a commit 599cd7d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/dada/DADA/MailingList/Archives.pm
Original file line number Diff line number Diff line change
Expand Up @@ -918,11 +918,16 @@ sub in_reply_to_info {

my $self = shift;
my %args = (-key => undef, @_);
die "no key! " if !$args{-key};

die "Please pass a key "
if !$args{-key};

my $in_reply_to = $self->get_header(-header => 'In-Reply-To', -key => $args{-key});
my $in_reply_to = $self->get_header(
-header => 'In-Reply-To',
-key => $args{-key}
);

if(!$in_reply_to){ #sigh...
if(!$in_reply_to){
my @refs = split(' ', $self->get_header(-header => 'References', -key => $args{-key}));
$in_reply_to = $refs[-1];
}
Expand Down

0 comments on commit 599cd7d

Please sign in to comment.