khatru/policies: PreventNormalDuplicates() to consider "a" reactions too.

This commit is contained in:
fiatjaf
2026-03-06 01:04:46 -03:00
parent 163e59e1f1
commit 4719c0bc9f
+1 -1
View File
@@ -177,7 +177,7 @@ func PreventNormalDuplicates(query func(nostr.Filter, int) iter.Seq[nostr.Event]
case 6:
reject = exists(event, "e") && exists(event, "a")
case 7:
reject = exists(event, "e")
reject = exists(event, "e") && exists(event, "a")
case 16:
reject = exists(event, "e") && exists(event, "a")
case 1018: