Merge pull request #916 from greenart7c3/main
Fix hidden notes when hidden words is empty
This commit is contained in:
@@ -766,7 +766,7 @@ open class Note(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (thisEvent is BaseTextNoteEvent) {
|
if (thisEvent is BaseTextNoteEvent) {
|
||||||
if (thisEvent.content.containsAny(accountChoices.hiddenWordsCase)) {
|
if (accountChoices.hiddenWordsCase.isNotEmpty() && thisEvent.content.containsAny(accountChoices.hiddenWordsCase)) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user