diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index b35c60059..ba107fc81 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -171,6 +171,9 @@ def execute_blackjack(v, target, body, kind): def find_all_emoji_endings(emoji): endings = [] + if path.isfile(f'files/assets/images/emojis/{emoji}.webp'): + return endings, emoji + is_non_ending_found = False while not is_non_ending_found: if emoji.endswith('pat'):