From 6245f9fd2e9406f171045fccc96ef0e064f9c36f Mon Sep 17 00:00:00 2001 From: trisua Date: Mon, 9 Jun 2025 21:03:45 -0400 Subject: [PATCH] add: make a higher gpa harder --- crates/core/src/database/posts.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/core/src/database/posts.rs b/crates/core/src/database/posts.rs index 9633c01..997f9ff 100644 --- a/crates/core/src/database/posts.rs +++ b/crates/core/src/database/posts.rs @@ -550,8 +550,8 @@ impl DataManager { let posts = res.unwrap(); for post in posts { - if post.likes == 0 && post.dislikes == 0 { - // post has no likes or dislikes... doesn't count + if (post.likes == 0 && post.dislikes == 0) | ((post.likes + post.dislikes) < 5) { + // post has no likes or dislikes (or has too few reactions)... doesn't count continue; }