remove unnecessary nil check.

This commit is contained in:
fiatjaf
2025-05-17 10:32:17 -03:00
parent 29cf3c7c6e
commit df5f42aa5e

View File

@@ -58,7 +58,7 @@ func (ef Filter) MatchesIgnoringTimestampConstraints(event Event) bool {
}
for f, v := range ef.Tags {
if v != nil && !event.Tags.ContainsAny(f, v) {
if !event.Tags.ContainsAny(f, v) {
return false
}
}