From 60b1b8aef92d31671bd4dce6690929b529cf9a5b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 May 2023 18:06:25 +0100 Subject: [PATCH] Comment --- webapp_post.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webapp_post.py b/webapp_post.py index a4eb1b6c8..7305f4d81 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2186,6 +2186,8 @@ def individual_post_as_html(signing_priv_key_pem: str, actor_nickname = 'dev' actor_domain, _ = get_domain_from_actor(post_actor) + # indicate if the post has been proxied from a different protocol + # (eg. diaspora/nostr) post_proxied = ap_proxy_type(post_json_object['object']) if post_proxied: post_proxied = remove_html(post_proxied)