fix: extend remoteAnchorToLocalProfile ap helper to handle markdown content

This commit is contained in:
Julian Lam
2025-01-23 16:23:06 -05:00
parent 7687da00d1
commit db1f895933
3 changed files with 18 additions and 5 deletions

View File

@@ -183,7 +183,6 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
_activitypub: mainPost._activitypub,
}),
Notes.updateLocalRecipients(mainPid, { to, cc }),
posts.attachments.update(mainPid, attachment),
]);
unprocessed.shift();
@@ -193,6 +192,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
id: tid,
path: mainPost._activitypub.image,
}) : null,
posts.attachments.update(mainPid, attachment),
]);
if (context) {