From 0c9245886680b7d3b93a0278642f4cf6a43b5cb2 Mon Sep 17 00:00:00 2001 From: mei23 Date: Mon, 21 Jan 2019 04:19:00 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=A4=E3=81=8F=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/remote/activitypub/models/note.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 99dbde057a..7d40b8789c 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -116,7 +116,6 @@ export async function createNote(value: any, resolver?: Resolver, silent = false if (reply && reply.poll && text != null && text.match(/^[0-9]$/)) { log(`vote from AP: actor=${actor.username}@${actor.host}, note=${note.id}, choice=${text}`); await vote(actor, reply, Number(text)); - return null; } const emojis = await extractEmojis(note.tag, actor.host).catch(e => {