Skip to content

Commit

Permalink
Merge pull request #1174 from davotoula/1173-add-nip05-to-hidden-word…
Browse files Browse the repository at this point in the history
…s-filtering

Added nip05 field from user profile to be used as part of hidden words filtering
  • Loading branch information
vitorpamplona authored Nov 11, 2024
2 parents 7146838 + 4e4521e commit 43688c4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ class User(
return true
}

if (info?.nip05?.containsAny(hiddenWordsCase) == true) {
return true
}

return false
}

Expand Down

0 comments on commit 43688c4

Please sign in to comment.