Merge pull request #2069 from coralproject/wyattjoh-patch-1

Toxic Comments Fix
This commit is contained in:
Kim Gardner
2018-11-08 11:53:41 -05:00
committed by GitHub
@@ -11,10 +11,10 @@ const getInfo = (toxicity, actions) => {
let text = t('talk-plugin-toxic-comments.unlikely');
if (toxicity > 0.8) {
text = t('talk-plugin-toxic-comments.highly_likely');
} else if (toxicity >= 0.5) {
text = t('talk-plugin-toxic-comments.possibly');
} else if (toxicity >= 0.7) {
text = t('talk-plugin-toxic-comments.likely');
} else if (toxicity >= 0.5) {
text = t('talk-plugin-toxic-comments.possibly');
}
return (