Commit 7ac0c721 authored by Dave Lawrence's avatar Dave Lawrence

Bug 877083 - "Ignore Bug Mail" shouldn't lead to request email being dropped

r=glob,a=LpSolit
parent a39f638e
...@@ -997,9 +997,6 @@ sub notify { ...@@ -997,9 +997,6 @@ sub notify {
} }
foreach my $to (keys %recipients) { foreach my $to (keys %recipients) {
# Skip sending if user is ignoring the bug.
next if ($recipients{$to} && $recipients{$to}->is_bug_ignored($bug->id));
# Add threadingmarker to allow flag notification emails to be the # Add threadingmarker to allow flag notification emails to be the
# threaded similar to normal bug change emails. # threaded similar to normal bug change emails.
my $thread_user_id = $recipients{$to} ? $recipients{$to}->id : 0; my $thread_user_id = $recipients{$to} ? $recipients{$to}->id : 0;
......
...@@ -833,9 +833,11 @@ ...@@ -833,9 +833,11 @@
</th> </th>
<td> <td>
<input type="hidden" name="defined_bug_ignored" value="1"> <input type="hidden" name="defined_bug_ignored" value="1">
<input type="checkbox" name="bug_ignored" id="bug_ignored" value="1" <span title="You will still receive emails for flag requests directed at you.">
[% ' checked="checked"' IF user.is_bug_ignored(bug.id) %]> <input type="checkbox" name="bug_ignored" id="bug_ignored" value="1"
(never email me about this [% terms.bug %]) [% ' checked="checked"' IF user.is_bug_ignored(bug.id) %]>
(never email me about this [% terms.bug %])
</span>
</td> </td>
</tr> </tr>
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment