From b7572852f92838ced1c11937a31aae443e765bd4 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 24 Jun 2017 16:03:51 -0700 Subject: [PATCH] Reply Sent messages are not informational; they change state. --- Debbugs/CGI/Bugreport.pm | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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) -- 2.39.2