From af842e98ee44a509ad0b46aad795b53ee52223f2 Mon Sep 17 00:00:00 2001 From: Nick Funk Date: Mon, 10 Aug 2020 14:42:47 -0600 Subject: [PATCH] Move wordlist check after staff approval check (#3094) This allows staff members to comment anything they want, even if it's on the banned word list. CORL-1255 Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- src/core/server/services/comments/pipeline/phases/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/server/services/comments/pipeline/phases/index.ts b/src/core/server/services/comments/pipeline/phases/index.ts index 588bde861..cc4ee0f49 100644 --- a/src/core/server/services/comments/pipeline/phases/index.ts +++ b/src/core/server/services/comments/pipeline/phases/index.ts @@ -30,11 +30,11 @@ export const moderationPhases: IntermediateModerationPhase[] = [ linkify, purify, repeatPost, - wordList, tagExpertAnswers, staff, tagUnansweredQuestions, approve, + wordList, toxic, recentCommentHistory, spam,