summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-12-26 18:14:13 +0100
committerdefault <nobody@localhost>2023-12-26 18:14:13 +0100
commitae8f5560e4eb5e45ad829fd30d0d9bd575655890 (patch)
tree28dfb0e10a3dad1ff80fb81f540fb2a5bdf780c2 /html.c
parent4fe99ed7225b3d11a24ebd50a0a171d7fc8a4970 (diff)
Really do what is described in previous commit.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 9f346a8..a5b3ac9 100644
--- 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"));