From cfe26cfd8f1514ba92c22f6c4e0e4f9fb367a348 Mon Sep 17 00:00:00 2001 From: hkc Date: Fri, 23 Sep 2022 18:21:31 +0300 Subject: [PATCH] DUROV I FUCKING HATE YOU --- mastoposter/integrations/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoposter/integrations/telegram.py b/mastoposter/integrations/telegram.py index 03beba4..a67bfde 100644 --- a/mastoposter/integrations/telegram.py +++ b/mastoposter/integrations/telegram.py @@ -137,7 +137,7 @@ class TelegramIntegration(BaseIntegration): chat_id=self.chat_id, question=f"Poll:{poll.id}", reply_to_message_id=reply_to, - allow_multiple_answers=poll.multiple, + allows_multiple_answers=poll.multiple, options=[opt.title for opt in poll.options], )