Merge branch 'master' into fix-routes-mount-path

This commit is contained in:
Wyatt Johnson
2017-08-21 08:29:37 -06:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ const CONFIG = {
DISABLE_AUTOFLAG_SUSPECT_WORDS: process.env.TALK_DISABLE_AUTOFLAG_SUSPECT_WORDS === 'TRUE',
// TRUST_THRESHOLDS defines the thresholds used for automoderation.
TRUST_THRESHOLDS: process.env.TRUST_THRESHOLDS || 'comment:-1,-1;flag:-1,-1'
TRUST_THRESHOLDS: process.env.TRUST_THRESHOLDS || 'comment:2,-1;flag:2,-1'
};
//==============================================================================
+1 -1
View File
@@ -177,7 +177,7 @@ Trust can auto-moderate comments based on user history. By specifying this
option, the behavior can be changed to offer different results.
- `TRUST_THRESHOLDS` (_optional_) - configure the reliability thresholds for
flagging and commenting. (Default `comment:-1,-1;flag:-1,-1`)
flagging and commenting. (Default `comment:2,-1;flag:2,-1`)
The form of the environment variable:
+1 -1
View File
@@ -19,7 +19,7 @@ const {
*
* The default used is:
*
* comment:-1,-1;flag:-1,-1
* comment:2,-2;flag:2,-2
*/
const parseThresholds = (thresholds) => thresholds
.split(';')