diff options
| author | Giacomo Tesio <giacomo@tesio.it> | 2024-12-09 15:23:53 +0100 |
|---|---|---|
| committer | Giacomo Tesio <giacomo@tesio.it> | 2024-12-09 15:23:53 +0100 |
| commit | 4ea42930b34285231244d9bfc9af7fb9307c3f8c (patch) | |
| tree | 6f717e3cc5ca75e28bb71c4c7ba7475af8f51e4b /html.c | |
| parent | bd74ffda5b25cc07e8d559815e027c8dab3b9d73 (diff) | |
| parent | 7808d7062508c1b4740eea508baf503dffd89a70 (diff) | |
Merge branch 'master' into build-with-musl
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -2576,15 +2576,6 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t, cons html_button("limit", L("Limit"), L("Block announces (boosts) from this user"))); } - else - if (pending_check(snac, actor_id)) { - xs_html_add(form, - html_button("approve", L("Approve"), - L("Approve this follow request"))); - - xs_html_add(form, - html_button("discard", L("Discard"), L("Discard this follow request"))); - } else { xs_html_add(form, html_button("follow", L("Follow"), @@ -2595,6 +2586,15 @@ xs_html *html_people_list(snac *snac, xs_list *list, char *header, char *t, cons html_button("delete", L("Delete"), L("Delete this user"))); } + if (pending_check(snac, actor_id)) { + xs_html_add(form, + html_button("approve", L("Approve"), + L("Approve this follow request"))); + + xs_html_add(form, + html_button("discard", L("Discard"), L("Discard this follow request"))); + } + if (is_muted(snac, actor_id)) xs_html_add(form, html_button("unmute", L("Unmute"), |