From 8c46e5b3d91d95ae119f8722cd0af85c8b0f12c3 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 7 May 2018 16:31:33 +0900 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A8=BF=E3=81=AE=E3=83=AC=E3=83=B3?= =?UTF-8?q?=E3=83=80=E3=83=AA=E3=83=B3=E3=82=B0=E3=82=92=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/remote/activitypub/misc/get-note-html.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/remote/activitypub/misc/get-note-html.ts b/src/remote/activitypub/misc/get-note-html.ts index a63059a38..5bca4eed6 100644 --- a/src/remote/activitypub/misc/get-note-html.ts +++ b/src/remote/activitypub/misc/get-note-html.ts @@ -11,7 +11,12 @@ export default function(note: INote) { if (note.poll != null) { const url = `${config.url}/notes/${note._id}`; // TODO: i18n - html += `

【投票】
${url}

`; + html += `

【Misskeyで投票を見る】

`; + } + + if (note.renoteId != null) { + const url = `${config.url}/notes/${note.renoteId}`; + html += `

RE: ${url}

`; } return html;