mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-03 01:09:06 +09:00
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
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user