Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Jan 20, 2019
1 parent 1ddad0d commit 20f0c10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/remote/activitypub/models/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 20f0c10

Please sign in to comment.