diff --git a/html.c b/html.c
index 3ae9c65..b8b1d65 100644
--- a/html.c
+++ b/html.c
@@ -1879,7 +1879,7 @@ xs_html *html_footer(void)
}
-xs_str *html_timeline(snac *user, const xs_list *list, int local,
+xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
int skip, int show, int show_more, char *tag, char *page)
/* returns the HTML for the timeline */
{
@@ -1903,7 +1903,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local,
if (user) {
head = html_user_head(user, desc);
- body = html_user_body(user, local);
+ body = html_user_body(user, read_only);
}
else {
head = html_instance_head();
@@ -1914,7 +1914,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local,
head,
body);
- if (user && !local)
+ if (user && !read_only)
xs_html_add(body,
html_top_controls(user));
@@ -1954,14 +1954,14 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local,
}
}
- xs_html *entry = html_entry(user, msg, local, 0, v, user ? 0 : 1);
+ xs_html *entry = html_entry(user, msg, read_only, 0, v, user ? 0 : 1);
if (entry != NULL)
xs_html_add(posts,
entry);
}
- if (list && user && local) {
+ if (list && user && read_only) {
if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE) {
xs_html *ul = xs_html_tag("ul", NULL);
diff --git a/snac.h b/snac.h
index bd7daaf..0d05cb1 100644
--- a/snac.h
+++ b/snac.h
@@ -296,7 +296,7 @@ xs_str *not_really_markdown(const char *content, xs_list **attach);
xs_str *sanitize(const char *content);
xs_str *encode_html(const char *str);
-xs_str *html_timeline(snac *user, const xs_list *list, int local,
+xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
int skip, int show, int show_more, char *tag, char *page);
int html_get_handler(const xs_dict *req, const char *q_path,