From e421bc730cafb003f5680783bc8c569eb706f9e4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 7 Feb 2023 17:17:34 +0000 Subject: [PATCH] Add emojis to display name and description --- webapp_profile.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webapp_profile.py b/webapp_profile.py index f16a34fe2..62762f90c 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -226,6 +226,10 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int, display_name = search_nickname if profile_json.get('name'): display_name = profile_json['name'] + display_name = \ + add_emoji_to_display_name(session, base_dir, http_prefix, + nickname, domain, + display_name, True, translate) locked_account = get_locked_account(profile_json) if locked_account: @@ -246,6 +250,10 @@ def html_profile_after_search(recent_posts_cache: {}, max_recent_posts: int, profile_description = '' if profile_json.get('summary'): profile_description = profile_json['summary'] + profile_description = \ + add_emoji_to_display_name(session, base_dir, http_prefix, + nickname, domain, + profile_description, True, translate) outbox_url = None if not profile_json.get('outbox'): if debug: