snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit ae8f5560e4eb5e45ad829fd30d0d9bd575655890
parent 4fe99ed7225b3d11a24ebd50a0a171d7fc8a4970
Author: default <nobody@localhost>
Date:   Tue, 26 Dec 2023 18:14:13 +0100

Really do what is described in previous commit.

Diffstat:
Mhtml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html.c b/html.c @@ -1343,7 +1343,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, if (!xs_is_null(name)) { xs *href = NULL; - if (user != NULL) + if (!local && user != NULL) href = xs_fmt("%s/people#%s", user->actor, p); else href = xs_dup(xs_dict_get(actor_r, "id"));