From 8ef366f132dbea6db2063df451ad1fdafeb2671c Mon Sep 17 00:00:00 2001 From: Tessa Thornton Date: Fri, 13 Sep 2019 16:21:23 -0400 Subject: [PATCH] move toxic comment detection ahead of recent history in moderation pipeline (#2562) --- 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 472cdbf33..564a71889 100644 --- a/src/core/server/services/comments/pipeline/phases/index.ts +++ b/src/core/server/services/comments/pipeline/phases/index.ts @@ -24,9 +24,9 @@ export const moderationPhases: IntermediateModerationPhase[] = [ purify, wordList, staff, + toxic, recentCommentHistory, spam, - toxic, detectLinks, preModerate, ];