summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/html.c b/html.c
index ce0df97..58501f2 100644
--- a/html.c
+++ b/html.c
@@ -206,7 +206,7 @@ xs_str *html_msg_icon(snac *snac, xs_str *os, const xs_dict *msg)
206 if (strcmp(type, "Note") == 0 || strcmp(type, "Question") == 0 || strcmp(type, "Page") == 0) 206 if (strcmp(type, "Note") == 0 || strcmp(type, "Question") == 0 || strcmp(type, "Page") == 0)
207 url = xs_dict_get(msg, "id"); 207 url = xs_dict_get(msg, "id");
208 208
209 priv = !is_msg_public(snac, msg); 209 priv = !is_msg_public(msg);
210 210
211 date = xs_dict_get(msg, "published"); 211 date = xs_dict_get(msg, "published");
212 udate = xs_dict_get(msg, "updated"); 212 udate = xs_dict_get(msg, "updated");
@@ -700,7 +700,7 @@ xs_str *html_entry_controls(snac *snac, xs_str *os, const xs_dict *msg, const ch
700 s = html_button(s, "pin", L("Pin"), L("Pin this post to the top of your timeline")); 700 s = html_button(s, "pin", L("Pin"), L("Pin this post to the top of your timeline"));
701 } 701 }
702 702
703 if (is_msg_public(snac, msg)) { 703 if (is_msg_public(msg)) {
704 if (strcmp(actor, snac->actor) == 0 || xs_list_in(boosts, snac->md5) == -1) { 704 if (strcmp(actor, snac->actor) == 0 || xs_list_in(boosts, snac->md5) == -1) {
705 /* not already boosted or us; add button */ 705 /* not already boosted or us; add button */
706 s = html_button(s, "boost", L("Boost"), L("Announce this post to your followers")); 706 s = html_button(s, "boost", L("Boost"), L("Announce this post to your followers"));
@@ -845,7 +845,7 @@ xs_str *html_entry(snac *snac, xs_str *os, const xs_dict *msg, int local,
845 xs *boosts = NULL; 845 xs *boosts = NULL;
846 846
847 /* do not show non-public messages in the public timeline */ 847 /* do not show non-public messages in the public timeline */
848 if (local && !is_msg_public(snac, msg)) 848 if (local && !is_msg_public(msg))
849 return os; 849 return os;
850 850
851 /* hidden? do nothing more for this conversation */ 851 /* hidden? do nothing more for this conversation */