mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-12 21:10:22 +03:00
Don't show list links in read only timelines.
This commit is contained in:
parent
bd4511e7c5
commit
a727bb29f6
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));
|
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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user