diff options
| author | 2024-05-08 09:48:57 +0200 | |
|---|---|---|
| committer | 2024-05-08 09:48:57 +0200 | |
| commit | 5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6 (patch) | |
| tree | 05817a09e790d53f721ac25d7b7b432d1852dee1 | |
| parent | More HTML simplification. (diff) | |
| parent | Merge pull request 'allow unboosting your own posts' (#165) from khm/snac2:un... (diff) | |
| download | penes-snac2-5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6.tar.gz penes-snac2-5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6.tar.xz penes-snac2-5d519288fb9bb8fdfb9323c77a3d1b18c480a5d6.zip | |
Merge branch 'master' of grunfink-codeberg:grunfink/snac2
| -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 | |||
| 1255 | } | 1255 | } |
| 1256 | 1256 | ||
| 1257 | if (is_msg_public(msg)) { | 1257 | if (is_msg_public(msg)) { |
| 1258 | if (strcmp(actor, snac->actor) == 0 || xs_list_in(boosts, snac->md5) == -1) { | 1258 | if (xs_list_in(boosts, snac->md5) == -1) { |
| 1259 | /* not already boosted or us; add button */ | 1259 | /* not already boosted; add button */ |
| 1260 | xs_html_add(form, | 1260 | xs_html_add(form, |
| 1261 | html_button("boost", L("Boost"), L("Announce this post to your followers"))); | 1261 | html_button("boost", L("Boost"), L("Announce this post to your followers"))); |
| 1262 | } | 1262 | } |