summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-06-17 14:12:50 +0900
committerGitHub <noreply@github.com>2018-06-17 14:12:50 +0900
commit4d90d554f832f7f13409f7e664683ab9a33548a0 (patch)
treeb54d36b7eecfde2c53d6b28344b0d54f31c61daf /src/remote/activitypub/renderer
parentFiox bug (diff)
parentmaybe Support CW in ActivityPub (diff)
downloadmisskey-4d90d554f832f7f13409f7e664683ab9a33548a0.tar.gz
misskey-4d90d554f832f7f13409f7e664683ab9a33548a0.tar.bz2
misskey-4d90d554f832f7f13409f7e664683ab9a33548a0.zip
Merge pull request #1721 from rinsuki/activitypub/support-cw
maybe Support CW in ActivityPub
Diffstat (limited to 'src/remote/activitypub/renderer')
-rw-r--r--src/remote/activitypub/renderer/note.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote/activitypub/renderer/note.ts b/src/remote/activitypub/renderer/note.ts
index 06956fd23f..aba0dc809a 100644
--- a/src/remote/activitypub/renderer/note.ts
+++ b/src/remote/activitypub/renderer/note.ts
@@ -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',