From 6d76c511302daa2894adc8b2cc84202a8c38617b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 26 May 2022 17:11:46 +0100 Subject: [PATCH] Use default avatar --- webapp_post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index de2abd2ce..cc46eaae6 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -383,7 +383,7 @@ def _get_avatar_image_html(showAvatarOptions: bool, """ # don't use svg images if avatar_url.endswith('.svg'): - avatar_url = avatar_url.replace('.svg', '.png') + avatar_url = '/icons/avatar_default.png' avatar_link = '' if '/users/news/' not in avatar_url: