mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
Make it so low threshold is included in karma calc
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ class KarmaService {
|
||||
if (trust && trust[name]) {
|
||||
if (trust[name].karma > THRESHOLDS[name].RELIABLE) {
|
||||
return true;
|
||||
} else if (trust[name].karma < THRESHOLDS[name].UNRELIABLE) {
|
||||
} else if (trust[name].karma <= THRESHOLDS[name].UNRELIABLE) {
|
||||
return false;
|
||||
}
|
||||
} else if (THRESHOLDS[name].RELIABLE < 0) {
|
||||
|
||||
Reference in New Issue
Block a user