mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Really do what is described in previous commit.
This commit is contained in:
parent
4fe99ed722
commit
ae8f5560e4
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -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"));
|
||||||
|
|
Loading…
Reference in a new issue