From febc3491c7f8be00d862d8a2a00dfa7a6fe9780f Mon Sep 17 00:00:00 2001 From: mei23 Date: Mon, 21 Jan 2019 04:20:45 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=81=A4=E3=81=8F=E3=82=8B"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0c9245886680b7d3b93a0278642f4cf6a43b5cb2. --- src/remote/activitypub/models/note.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 7d40b8789c..99dbde057a 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -116,6 +116,7 @@ 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 => {