commit a727bb2
default
·
2024-05-24 10:36:08 +0000 UTC
parent bd4511e
Don't show list links in read only timelines.
1 files changed,
+1,
-1
M
html.c
M
html.c
+1,
-1
1@@ -2060,7 +2060,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2 html_top_controls(user));
3
4 /* show links to the available lists */
5- {
6+ if (user && !read_only) {
7 xs *lists = list_maint(user, NULL, 0); /* get list of lists */
8
9 if (xs_list_len(lists)) {