From c1502219bb74daf13c987d599e367476e0c15081 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 8 Nov 2023 09:32:02 +0100 Subject: [PATCH] Local tag links now point to the search by tag URL. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 6971492..4c8eaf5 100644 --- a/activitypub.c +++ b/activitypub.c @@ -587,7 +587,7 @@ xs_str *process_tags(snac *snac, const char *content, xs_list **tag) /* hashtag */ xs *d = xs_dict_new(); xs *n = xs_tolower_i(xs_dup(v)); - xs *h = xs_fmt("%s%s", snac->actor, n); + xs *h = xs_fmt("%s?t=%s", srv_baseurl, n + 1); xs *l = xs_fmt("%s", h, v); d = xs_dict_append(d, "type", "Hashtag");