From 69947d3eba48a0f05ef83e05a730944f1fd3e89a Mon Sep 17 00:00:00 2001 From: mei23 Date: Fri, 24 Aug 2018 14:52:53 +0900 Subject: [PATCH] =?UTF-8?q?ActivityPub=20Renote/Reply=E3=81=A7=20=E5=AF=BE?= =?UTF-8?q?=E8=B1=A1Note=E3=82=92=E6=B7=BB=E4=BB=98=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/note/create.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/note/create.ts b/src/services/note/create.ts index d8f0f57b6..268bfa5bb 100644 --- a/src/services/note/create.ts +++ b/src/services/note/create.ts @@ -239,8 +239,8 @@ export default async (user: IUser, data: Option, silent = false) => new Promise< async function renderActivity(data: Option, note: INote) { const content = data.renote && data.text == null - ? renderAnnounce(data.renote.uri ? data.renote.uri : await renderNote(data.renote), note) - : renderCreate(await renderNote(note)); + ? renderAnnounce(data.renote.uri ? data.renote.uri : `${config.url}/notes/${data.renote._id}`, note) + : renderCreate(await renderNote(note, false)); return packAp(content); }