Adds relay param in spam filter for polls
This commit is contained in:
@@ -232,7 +232,7 @@ object LocalCache {
|
|||||||
// Already processed this event.
|
// Already processed this event.
|
||||||
if (note.event != null) return
|
if (note.event != null) return
|
||||||
|
|
||||||
if (antiSpam.isSpam(event)) {
|
if (antiSpam.isSpam(event, relay)) {
|
||||||
relay?.let {
|
relay?.let {
|
||||||
it.spamCounter++
|
it.spamCounter++
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user