commit ab41e65
default
·
2023-08-14 09:48:05 +0000 UTC
parent 5c3cebb
Don't show children in the instance timeline.
1 files changed,
+2,
-2
M
html.c
M
html.c
+2,
-2
1@@ -937,7 +937,7 @@ xs_str *html_entry(snac *user, xs_str *os, const xs_dict *msg, int local,
2 xs *boosts = NULL;
3
4 /* do not show non-public messages in the public timeline */
5- if (local && !is_msg_public(msg))
6+ if ((local || !user) && !is_msg_public(msg))
7 return os;
8
9 /* hidden? do nothing more for this conversation */
10@@ -1484,7 +1484,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local, int skip, int
11 if (!valid_status(status))
12 continue;
13
14- s = html_entry(user, s, msg, local, 0, v, 0);
15+ s = html_entry(user, s, msg, local, 0, v, user ? 0 : 1);
16 }
17
18 s = xs_str_cat(s, "</div>\n");