summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorkhm <khm@sciops.net>2024-05-07 23:28:51 -0700
committerkhm <khm@sciops.net>2024-05-07 23:28:51 -0700
commitd27a60dfe7a440ad76540b826d9105a82711f70b (patch)
treeefd6500da265389345cab3f84636ae36011529ea /html.c
parentc5ae10af862d3c76c79e848fc4dbe69f80cfc214 (diff)
allow unboosting your own posts
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index ee5c2cd..018cdc8 100644
--- a/html.c
+++ b/html.c
@@ -1265,8 +1265,8 @@ xs_html *html_entry_controls(snac *snac, char *actor, const xs_dict *msg, const
}
if (is_msg_public(msg)) {
- if (strcmp(actor, snac->actor) == 0 || xs_list_in(boosts, snac->md5) == -1) {
- /* not already boosted or us; add button */
+ if (xs_list_in(boosts, snac->md5) == -1) {
+ /* not already boosted; add button */
xs_html_add(form,
html_button("boost", L("Boost"), L("Announce this post to your followers")));
}