Revert "Default Telegram polls to public"

This reverts commit c43e95e011.
This commit is contained in:
Nimrod Gutman
2026-02-17 09:38:15 +02:00
parent 60dc3741c0
commit b2fef5ebc4
8 changed files with 9 additions and 179 deletions

View File

@@ -4,9 +4,6 @@ type TelegramUpdateType = (typeof API_CONSTANTS.ALL_UPDATE_TYPES)[number];
export function resolveTelegramAllowedUpdates(): ReadonlyArray<TelegramUpdateType> {
const updates = [...API_CONSTANTS.DEFAULT_UPDATE_TYPES] as TelegramUpdateType[];
if (!updates.includes("poll_answer")) {
updates.push("poll_answer");
}
if (!updates.includes("message_reaction")) {
updates.push("message_reaction");
}