summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-02-08 13:30:15 +0100
committerdefault <nobody@localhost>2023-02-08 13:30:15 +0100
commit95926fb98a6d92d9cb05bfb51a512321e572477c (patch)
tree2d61844e1a072f321cf17098599db151016cc5d4 /html.c
parentb64d0f338d6014799a82138619cbc9588775982f (diff)
Use timeline_here() for parents in html_entry().
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 d788458..13e9360 100644
--- a/html.c
+++ b/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? */
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(
"<div class=\"snac-origin\">%s "
"<a href=\"%s\">ยป</a></div>\n",