fix: persist sourceContent into post hash when ingesting remote posts, update markdown so that field is parsed instead of ignoring content

This commit is contained in:
Julian Lam
2024-12-03 11:59:55 -05:00
parent f32184b23e
commit 1839388b65
5 changed files with 11 additions and 7 deletions

View File

@@ -179,6 +179,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
timestamp,
tags,
content: mainPost.content,
sourceContent: mainPost.sourceContent,
_activitypub: mainPost._activitypub,
}),
Notes.updateLocalRecipients(mainPid, { to, cc }),