From 9947e635abf86d55288e1c20f08688b8fc38cde4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 3 Dec 2022 00:32:48 +0200 Subject: [PATCH] make supportjews.webp an image instead --- files/assets/images/{emojis => }/supportjews.webp | Bin files/helpers/sanitize.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename files/assets/images/{emojis => }/supportjews.webp (100%) diff --git a/files/assets/images/emojis/supportjews.webp b/files/assets/images/supportjews.webp similarity index 100% rename from files/assets/images/emojis/supportjews.webp rename to files/assets/images/supportjews.webp diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index cbbbd946e..1f903fd66 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -246,8 +246,8 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys if torture: sanitized = torture_ap(sanitized, g.v.username) # emoji = random.choice(['trumpjaktalking', 'reposthorse']) - emoji = 'supportjews' - sanitized += f'\n:#{emoji}:' + # sanitized += f'\n:#{emoji}:' + sanitized += f'\n![](/i/supportjews.webp)' sanitized = normalize_url(sanitized)