Merge pull request #916 from greenart7c3/main

Fix hidden notes when hidden words is empty
This commit is contained in:
Vitor Pamplona
2024-06-14 11:59:07 -04:00
committed by GitHub

View File

@@ -766,7 +766,7 @@ open class Note(
}
if (thisEvent is BaseTextNoteEvent) {
if (thisEvent.content.containsAny(accountChoices.hiddenWordsCase)) {
if (accountChoices.hiddenWordsCase.isNotEmpty() && thisEvent.content.containsAny(accountChoices.hiddenWordsCase)) {
return true
}
}