From f1ab918ecd3bfe9ac5ceee7e79586645844d9623 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sat, 20 Jul 2019 03:20:06 +0900 Subject: Fix question (#5197) --- src/remote/activitypub/renderer/note.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/remote/activitypub/renderer/note.ts') diff --git a/src/remote/activitypub/renderer/note.ts b/src/remote/activitypub/renderer/note.ts index c66af2667b..cbdff7d203 100644 --- a/src/remote/activitypub/renderer/note.ts +++ b/src/remote/activitypub/renderer/note.ts @@ -90,14 +90,11 @@ export default async function renderNote(note: Note, dive = true): Promise poll = await Polls.findOne({ noteId: note.id }); } - let question: string | undefined; if (poll) { if (text == null) text = ''; const url = `${config.url}/notes/${note.id}`; // TODO: i18n text += `\n[リモートで結果を表示](${url})`; - - question = `${config.url}/questions/${note.id}`; } let apText = text; @@ -156,7 +153,6 @@ export default async function renderNote(note: Note, dive = true): Promise content, _misskey_content: text, _misskey_quote: quote, - _misskey_question: question, published: note.createdAt.toISOString(), to, cc, -- cgit v1.2.3-freya