diff --git a/packages/megalodon/src/entities/poll.ts b/packages/megalodon/src/entities/poll.ts index 69706e8ae..7e85bd55b 100644 --- a/packages/megalodon/src/entities/poll.ts +++ b/packages/megalodon/src/entities/poll.ts @@ -9,5 +9,6 @@ namespace Entity { votes_count: number options: Array voted: boolean + emojis?: [] } } diff --git a/packages/megalodon/src/misskey/api_client.ts b/packages/megalodon/src/misskey/api_client.ts index a23264b21..854c31222 100644 --- a/packages/megalodon/src/misskey/api_client.ts +++ b/packages/megalodon/src/misskey/api_client.ts @@ -254,6 +254,7 @@ namespace MisskeyAPI { votes_count: count, options: Array.isArray(p.choices) ? p.choices.map(c => choice(c)) : [], voted: Array.isArray(p.choices) ? p.choices.some(c => c.isVoted) : false, + emojis: [], } }