mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Use timeline_here() for parents in html_entry().
This commit is contained in:
parent
b64d0f338d
commit
95926fb98a
1 changed files with 1 additions and 1 deletions
2
html.c
2
html.c
|
@ -705,7 +705,7 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, int local, int level, cons
|
||||||
/* is the parent not here? */
|
/* is the parent not here? */
|
||||||
char *parent = xs_dict_get(msg, "inReplyTo");
|
char *parent = xs_dict_get(msg, "inReplyTo");
|
||||||
|
|
||||||
if (!xs_is_null(parent) && *parent && !object_here(parent)) {
|
if (!xs_is_null(parent) && *parent && !timeline_here(snac, parent)) {
|
||||||
xs *s1 = xs_fmt(
|
xs *s1 = xs_fmt(
|
||||||
"<div class=\"snac-origin\">%s "
|
"<div class=\"snac-origin\">%s "
|
||||||
"<a href=\"%s\">»</a></div>\n",
|
"<a href=\"%s\">»</a></div>\n",
|
||||||
|
|
Loading…
Reference in a new issue