From 12110e96aaff3cc7c3e3797818bda195a094c5aa Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Mon, 18 Mar 2024 13:11:02 -0500 Subject: [PATCH] Add an emoji to badwords list --- java/src/org/futo/inputmethod/latin/uix/settings/BadWords.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/src/org/futo/inputmethod/latin/uix/settings/BadWords.kt b/java/src/org/futo/inputmethod/latin/uix/settings/BadWords.kt index fa4b01768..a496808a6 100644 --- a/java/src/org/futo/inputmethod/latin/uix/settings/BadWords.kt +++ b/java/src/org/futo/inputmethod/latin/uix/settings/BadWords.kt @@ -461,7 +461,8 @@ val badWords = listOf( "yed", "zabourah", "fucked", - "asdfbadwordasdf" + "asdfbadwordasdf", + "\uD83D\uDD95" ).flatMap { listOf(it, it.lowercase(), it.uppercase(), it.lowercase().capitalize()) }.toSet() fun isFiltered(word: String): Boolean {