Merge pull request #1721 from rinsuki/activitypub/support-cw

maybe Support CW in ActivityPub
This commit is contained in:
syuilo 2018-06-17 14:12:50 +09:00 committed by GitHub
commit 4d90d554f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -62,6 +62,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',