Adds relay param in spam filter for polls

This commit is contained in:
Vitor Pamplona
2023-04-03 20:46:22 -04:00
parent a11263ce9e
commit e96e218025

View File

@@ -232,7 +232,7 @@ object LocalCache {
// Already processed this event.
if (note.event != null) return
if (antiSpam.isSpam(event)) {
if (antiSpam.isSpam(event, relay)) {
relay?.let {
it.spamCounter++
}