mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 14:35:04 +00:00
Don't show list links in read only timelines.
This commit is contained in:
parent
bd4511e7c5
commit
a727bb29f6
1 changed files with 1 additions and 1 deletions
2
html.c
2
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)) {
|
||||
|
|
Loading…
Reference in a new issue