aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2026-01-25 10:12:11 +0100
committergrunfink <grunfink@noreply.codeberg.org>2026-01-25 10:12:11 +0100
commit9385a6292247a40a77870d40d4d328cbd1b10f9d (patch)
treeb001e10de50047984715720ff6d23cc989699295
parent02b05e27979a2ee0597a59298498b9e1d188c264 (diff)
parenteed16255b338514ccfc8e056fa798a10d0c50a67 (diff)
Merge pull request 'Bug fix: editing unlisted posts breaks visibility' (#531) from dandelions/snac2:fix-visibility-bug into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/531
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index 3f5435c..93dba0a 100644
--- a/html.c
+++ b/html.c
@@ -5359,6 +5359,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
if (valid_status(object_get(edit_id, &p_msg))) {
/* copy relevant fields from previous version */
char *fields[] = { "id", "context", "url",
+ "cc", "attributedTo",
"to", "inReplyTo", NULL };
int n;