diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl index 2da5402c70..f618988967 100644 --- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl @@ -53,6 +53,10 @@ FOREACH change_set IN bug.activity_stream; NEXT IF change_set.cc_only; + + # Hide the comment if marked as spam from users without editbugs + NEXT IF change_set.comment && change_set.comment.tags.contains('spam') && !user.in_group('editbugs'); + extra_class = change_set.comment.collapsed ? " ca-" _ change_set.comment.author.id : ""; '
';