Browse Source

Don't show list links in read only timelines.

default 11 months ago
parent
commit
a727bb29f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      html.c

+ 1 - 1
html.c

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