mirror of
https://github.com/wassname/talk.git
synced 2026-10-30 13:50:47 +08:00
Make it so low threshold is included in karma calc
This commit is contained in:
1 parent
6667bbe01f
commit
8e24d4f5c6
1 file changed
+1
-1
+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