つくる
This commit is contained in:
parent
20f0c1008b
commit
0c92458866
|
@ -116,7 +116,6 @@ 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 => {
|
||||||
|
|
Loading…
Reference in New Issue