From 4b6952d41734fc64057561788585caf421989147 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 12 Oct 2024 21:51:11 +0100 Subject: [PATCH] Link for your own account url as searchable --- posts.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/posts.py b/posts.py index 484e7d6f8..a327f29aa 100644 --- a/posts.py +++ b/posts.py @@ -1898,6 +1898,9 @@ def _create_post_base(base_dir: str, searchable_by_link = '' if searchable_by == 'public': searchable_by_link = "https://www.w3.org/ns/activitystreams#Public" + elif searchable_by == 'yourself': + searchable_by_link = \ + local_actor_url(http_prefix, nickname, domain) elif searchable_by == 'followers': searchable_by_link = \ local_actor_url(http_prefix, nickname, domain) + "/followers"