From de934d20fd826ac47b459ab2967bf5849e70870b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 19 Jun 2015 12:26:38 +0800 Subject: Bug 1175928: changes made at the same time as a cc change are not visible without showing cc changes --- extensions/BugModal/lib/ActivityStream.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'extensions') diff --git a/extensions/BugModal/lib/ActivityStream.pm b/extensions/BugModal/lib/ActivityStream.pm index 58ac25472..82be3ff53 100644 --- a/extensions/BugModal/lib/ActivityStream.pm +++ b/extensions/BugModal/lib/ActivityStream.pm @@ -229,6 +229,11 @@ sub _add_activities_to_stream { } } + # track cc-only + if ($change->{fieldname} ne 'cc') { + $operation->{cc_only} = 0; + } + # split multiple flag changes (must be processed last) if ($change->{fieldname} eq 'flagtypes.name') { my @added = split(/, /, $change->{added}); @@ -260,11 +265,6 @@ sub _add_activities_to_stream { } $i--; } - - # track cc-only - if ($change->{fieldname} ne 'cc') { - $operation->{cc_only} = 0; - } } _add_activity_to_stream($stream, date_str_to_time($operation->{when}), $operation->{who}->id, $operation); -- cgit v1.2.3-24-g4f1b