From 9d2628d013fc61ae5cec08481844d75a410df9bc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 28 Mar 2022 22:23:38 +0100 Subject: [PATCH] Don't show reply icon if emoji indicates no replies --- webapp_post.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index 78873669f..0ec9bc029 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1980,6 +1980,13 @@ def individual_post_as_html(signing_priv_key_pem: str, ':no_boosts:' in content_str or \ ':boosts_no:' in content_str: announce_str = '' + if ':reply_no:' in content_str or \ + ':noreply:' in content_str or \ + ':noreplies:' in content_str or \ + ':no_reply:' in content_str or \ + ':no_replies:' in content_str or \ + ':replies_no:' in content_str: + reply_str = '' new_footer_str = \ _get_footer_with_icons(show_icons,