diff options
| author | 2023-12-26 18:14:13 +0100 | |
|---|---|---|
| committer | 2023-12-26 18:14:13 +0100 | |
| commit | ae8f5560e4eb5e45ad829fd30d0d9bd575655890 (patch) | |
| tree | 28dfb0e10a3dad1ff80fb81f540fb2a5bdf780c2 | |
| parent | Don't create a link to the people page from the public one. (diff) | |
| download | snac2-ae8f5560e4eb5e45ad829fd30d0d9bd575655890.tar.gz snac2-ae8f5560e4eb5e45ad829fd30d0d9bd575655890.tar.xz snac2-ae8f5560e4eb5e45ad829fd30d0d9bd575655890.zip | |
Really do what is described in previous commit.
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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")); |