summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2023-12-26 18:14:13 +0100
committerGravatar default2023-12-26 18:14:13 +0100
commitae8f5560e4eb5e45ad829fd30d0d9bd575655890 (patch)
tree28dfb0e10a3dad1ff80fb81f540fb2a5bdf780c2
parentDon't create a link to the people page from the public one. (diff)
downloadsnac2-ae8f5560e4eb5e45ad829fd30d0d9bd575655890.tar.gz
snac2-ae8f5560e4eb5e45ad829fd30d0d9bd575655890.tar.xz
snac2-ae8f5560e4eb5e45ad829fd30d0d9bd575655890.zip
Really do what is described in previous commit.
-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,
1343 if (!xs_is_null(name)) { 1343 if (!xs_is_null(name)) {
1344 xs *href = NULL; 1344 xs *href = NULL;
1345 1345
1346 if (user != NULL) 1346 if (!local && user != NULL)
1347 href = xs_fmt("%s/people#%s", user->actor, p); 1347 href = xs_fmt("%s/people#%s", user->actor, p);
1348 else 1348 else
1349 href = xs_dup(xs_dict_get(actor_r, "id")); 1349 href = xs_dup(xs_dict_get(actor_r, "id"));