Don't show list links in read only timelines.

This commit is contained in:
default 2024-05-24 12:36:08 +02:00
parent bd4511e7c5
commit a727bb29f6

2
html.c
View file

@ -2060,7 +2060,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
html_top_controls(user)); html_top_controls(user));
/* show links to the available lists */ /* show links to the available lists */
{ if (user && !read_only) {
xs *lists = list_maint(user, NULL, 0); /* get list of lists */ xs *lists = list_maint(user, NULL, 0); /* get list of lists */
if (xs_list_len(lists)) { if (xs_list_len(lists)) {