diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 91e700ef6f..974fce433b 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -170,6 +170,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false media, reply, renote: undefined, + cw: note.summary, text: text, viaMobile: false, geo: undefined, diff --git a/src/remote/activitypub/renderer/note.ts b/src/remote/activitypub/renderer/note.ts index a05c12b388..4c531da970 100644 --- a/src/remote/activitypub/renderer/note.ts +++ b/src/remote/activitypub/renderer/note.ts @@ -49,6 +49,7 @@ export default async function renderNote(note: INote, dive = true) { id: `${config.url}/notes/${note._id}`, type: 'Note', attributedTo, + summary: note.cw, content: toHtml(note), published: note.createdAt.toISOString(), to: 'https://www.w3.org/ns/activitystreams#Public',