From: Don Armstrong Date: Sat, 24 Jun 2017 23:03:51 +0000 (-0700) Subject: Reply Sent messages are not informational; they change state. X-Git-Tag: release/2.6.0~134 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=b7572852f92838ced1c11937a31aae443e765bd4 Reply Sent messages are not informational; they change state. --- diff --git a/Debbugs/CGI/Bugreport.pm b/Debbugs/CGI/Bugreport.pm index 888a1b3..fb0ec9c 100644 --- a/Debbugs/CGI/Bugreport.pm +++ b/Debbugs/CGI/Bugreport.pm @@ -372,7 +372,7 @@ sub handle_record{ # $record->{text} is not in perl's internal encoding; convert it my $text = decode_rfc1522(decode_utf8(record_text($record))); my ($time) = $text =~ //; - my $class = $text =~ /^(?:Acknowledgement|Reply|Information|Report|Notification)/m ? 'infmessage':'msgreceived'; + my $class = $text =~ /^(?:Acknowledgement|Information|Report|Notification)/m ? 'infmessage':'msgreceived'; $output .= $text; # Link to forwarded http:// urls in the midst of the report # (even though these links already exist at the top) diff --git a/debian/changelog b/debian/changelog index 726ea26..eae7eb1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -48,6 +48,8 @@ debbugs (2.6.0~exp1) UNRELEASED; urgency=low * cdn.libravatar.org no longer sends Content-Type. Switch to verifying the content-type using libmagic instead (which we probably should have been doing from the beginning anyway). (Closes: #856991) + * Reply sent messages (-forwarded and -done) are not informational messages. + (Closes: #864725) [ Niels Thykier ] * quitcgi() now returns 400/500 status codes instead of 200 (Closes: #584922)