diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 7d40b8789c..99dbde057a 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -116,6 +116,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false 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; } const emojis = await extractEmojis(note.tag, actor.host).catch(e => {