commit 95926fb

default  ·  2023-02-08 12:30:15 +0000 UTC
parent b64d0f3
Use timeline_here() for parents in html_entry().
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -705,7 +705,7 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, int local, int level, cons
2         /* is the parent not here? */
3         char *parent = xs_dict_get(msg, "inReplyTo");
4 
5-        if (!xs_is_null(parent) && *parent && !object_here(parent)) {
6+        if (!xs_is_null(parent) && *parent && !timeline_here(snac, parent)) {
7             xs *s1 = xs_fmt(
8                 "<div class=\"snac-origin\">%s "
9                 "<a href=\"%s\">ยป</a></div>\n",