debug
This commit is contained in:
parent
1ddad0d440
commit
20f0c1008b
|
@ -114,6 +114,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false
|
||||||
|
|
||||||
// vote
|
// vote
|
||||||
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}`);
|
||||||
await vote(actor, reply, Number(text));
|
await vote(actor, reply, Number(text));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue