Merge pull request #1270 from coralproject/suspect-label

Fix suspect label
This commit is contained in:
Kim Gardner
2018-01-11 12:17:38 -05:00
committed by GitHub
@@ -22,7 +22,7 @@ function getUserFlaggedType(actions) {
}
function hasSuspectedWords(actions) {
return actions.some((action) => action.__typename === 'FlagAction' && action.reason === 'Matched suspect word filter');
return actions.some((action) => action.__typename === 'FlagAction' && action.reason === 'SUSPECT_WORD');
}
function hasHistoryFlag(actions) {