commit d27a60d
khm
·
2024-05-08 06:28:51 +0000 UTC
parent c5ae10a
allow unboosting your own posts
1 files changed,
+2,
-2
M
html.c
M
html.c
+2,
-2
1@@ -1265,8 +1265,8 @@ xs_html *html_entry_controls(snac *snac, char *actor, const xs_dict *msg, const
2 }
3
4 if (is_msg_public(msg)) {
5- if (strcmp(actor, snac->actor) == 0 || xs_list_in(boosts, snac->md5) == -1) {
6- /* not already boosted or us; add button */
7+ if (xs_list_in(boosts, snac->md5) == -1) {
8+ /* not already boosted; add button */
9 xs_html_add(form,
10 html_button("boost", L("Boost"), L("Announce this post to your followers")));
11 }