2 parents 98764fb + 0a40315 commit 2875e3cCopy full SHA for 2875e3c
1 file changed
curation.go
@@ -54,8 +54,8 @@ func processReactions(ctx context.Context, event nostr.Event) {
54
}
55
56
57
- popularThreshold := min(2, (totalMembers*global.Settings.Popular.PercentThreshold)/100)
58
- uppermostThreshold := min(3, (totalMembers*global.Settings.Uppermost.PercentThreshold)/100)
+ popularThreshold := max(2, (totalMembers*global.Settings.Popular.PercentThreshold)/100)
+ uppermostThreshold := max(3, (totalMembers*global.Settings.Uppermost.PercentThreshold)/100)
59
60
// for all events we meet the popular threshold for
61
for target, votes := range popularVotes {
0 commit comments