diff options
author | default <nobody@localhost> | 2024-05-08 09:48:57 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-05-08 09:48:57 +0200 |
commit | 5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6 (patch) | |
tree | 05817a09e790d53f721ac25d7b7b432d1852dee1 /html.c | |
parent | fa8b40192757a2022da1cc945e4d0c3c1dc014b2 (diff) | |
parent | 01de131a1717c5bb21c4399636d63a3b2a35b8df (diff) |
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"))); } |