From 0a5abcdd1c70c3eb495d6e4bb7d8de41b71f13d7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 9 Feb 2023 13:56:14 +0000 Subject: [PATCH] Icon indicating post scope --- webapp_post.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index e11a0e225..09368de6f 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2184,6 +2184,23 @@ def individual_post_as_html(signing_priv_key_pem: str, actor_nickname = 'dev' actor_domain, _ = get_domain_from_actor(post_actor) + # scope icon before display name + if is_followers_post(post_json_object): + title_str += \ + ' \n' + elif is_unlisted_post(post_json_object): + title_str += \ + ' \n' + elif is_reminder(post_json_object): + title_str += \ + ' \n' + display_name = get_display_name(base_dir, post_actor, person_cache) if display_name: if len(display_name) < 2 or \