mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-01 10:25:39 +02:00
maybe Support CW in ActivityPub
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user