summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-08 09:48:57 +0200
committerdefault <nobody@localhost>2024-05-08 09:48:57 +0200
commit5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6 (patch)
tree05817a09e790d53f721ac25d7b7b432d1852dee1 /html.c
parentfa8b40192757a2022da1cc945e4d0c3c1dc014b2 (diff)
parent01de131a1717c5bb21c4399636d63a3b2a35b8df (diff)
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
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 27fc713..42996e6 100644
--- a/html.c
+++ b/html.c
@@ -1255,8 +1255,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")));
}