aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorbyte <gf3qyrmw7@mozmail.com>2025-11-01 01:18:28 +0100
committerbyte <gf3qyrmw7@mozmail.com>2025-11-01 01:18:28 +0100
commitdaee7581dbf5b458f28e486fd89804b91209a9bb (patch)
treeacd6546107a14613fe7316de12bf817b70263c1a /html.c
parent8ed4d5bdcbe552eaa0f143c71b90ff7cd2a3d709 (diff)
no visibility for editing
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index a2dfb79..84636e9 100644
--- a/html.c
+++ b/html.c
@@ -486,7 +486,8 @@ xs_html *html_note(snac *user, const char *summary,
xs_html_attr("type", "hidden"),
xs_html_attr("name", "to"),
xs_html_attr("value", actor_id)));
- html_note_render_visibility(user, form, scope);
+ if (edit_id == NULL)
+ html_note_render_visibility(user, form, scope);
if (redir)
xs_html_add(form,