]> Untitled Git - lemmy.git/blobdiff - crates/api/src/comment.rs
Merge branch 'main' into move_matrix_and_admin_to_person
[lemmy.git] / crates / api / src / comment.rs
index bcee72b0942a45dcb7224b6881df1401c614f01c..78bb484f9d0ece58590ff37a62c80d48d31421ee 100644 (file)
@@ -85,13 +85,7 @@ impl Perform for CreateComment {
       parent_id: data.parent_id.to_owned(),
       post_id: data.post_id,
       creator_id: local_user_view.person.id,
-      removed: None,
-      deleted: None,
-      read: None,
-      published: None,
-      updated: None,
-      ap_id: None,
-      local: true,
+      ..CommentForm::default()
     };
 
     // Create the comment