mirror of
https://github.com/wassname/talk.git
synced 2026-07-08 09:51:49 +08:00
Merge pull request #1270 from coralproject/suspect-label
Fix suspect label
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user