diff options
| author | 2024-05-24 12:36:08 +0200 | |
|---|---|---|
| committer | 2024-05-24 12:36:08 +0200 | |
| commit | a727bb29f6a4b1e66a4ad0664e4557f69d1e2ac4 (patch) | |
| tree | c9d6ef4930f4a64f121c583b3c18c6be2daeb8bc /html.c | |
| parent | Show 'Nothing found for tag' message. (diff) | |
| download | penes-snac2-a727bb29f6a4b1e66a4ad0664e4557f69d1e2ac4.tar.gz penes-snac2-a727bb29f6a4b1e66a4ad0664e4557f69d1e2ac4.tar.xz penes-snac2-a727bb29f6a4b1e66a4ad0664e4557f69d1e2ac4.zip | |
Don't show list links in read only timelines.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2060,7 +2060,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, | |||
| 2060 | html_top_controls(user)); | 2060 | html_top_controls(user)); |
| 2061 | 2061 | ||
| 2062 | /* show links to the available lists */ | 2062 | /* show links to the available lists */ |
| 2063 | { | 2063 | if (user && !read_only) { |
| 2064 | xs *lists = list_maint(user, NULL, 0); /* get list of lists */ | 2064 | xs *lists = list_maint(user, NULL, 0); /* get list of lists */ |
| 2065 | 2065 | ||
| 2066 | if (xs_list_len(lists)) { | 2066 | if (xs_list_len(lists)) { |