From 20f0c1008bab9b96889d9c5b0b34ef7010e45b84 Mon Sep 17 00:00:00 2001 From: mei23 Date: Mon, 21 Jan 2019 04:13:47 +0900 Subject: [PATCH] debug --- 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 d297141745..99dbde057a 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -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; }