Really do what is described in previous commit.

This commit is contained in:
default 2023-12-26 18:14:13 +01:00
parent 4fe99ed722
commit ae8f5560e4

2
html.c
View file

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