Browse Source

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
grunfink 6 months ago
parent
commit
9385a62922
1 changed files with 1 additions and 0 deletions
  1. 1 0
      html.c

+ 1 - 0
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;