fix downvote
This commit is contained in:
parent
5c14fbff6b
commit
e9e9a22719
@ -160,8 +160,8 @@ public class EntryManager {
|
|||||||
entry.getMetadata().put("vote", true);
|
entry.getMetadata().put("vote", true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ignore.contains("unvote") && karma >= UNVOTE_THRESH) {
|
if (!ignore.contains("downvote") && karma >= UNVOTE_THRESH) {
|
||||||
entry.getMetadata().put("unvote", true);
|
entry.getMetadata().put("downvote", true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user