Revert "つくる"

This reverts commit 0c92458866.
This commit is contained in:
mei23 2019-01-21 04:20:45 +09:00
parent 0c92458866
commit febc3491c7
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false
if (reply && reply.poll && text != null && text.match(/^[0-9]$/)) { if (reply && reply.poll && text != null && text.match(/^[0-9]$/)) {
log(`vote from AP: actor=${actor.username}@${actor.host}, note=${note.id}, choice=${text}`); log(`vote from AP: actor=${actor.username}@${actor.host}, note=${note.id}, choice=${text}`);
await vote(actor, reply, Number(text)); await vote(actor, reply, Number(text));
return null;
} }
const emojis = await extractEmojis(note.tag, actor.host).catch(e => { const emojis = await extractEmojis(note.tag, actor.host).catch(e => {