Support retracting poll votes on message click without option (#3080)

This commit is contained in:
BelgenOp
2021-06-19 22:02:11 +05:30
committed by GitHub
parent 7c5efee1de
commit 37b81c6418

View File

@@ -984,7 +984,7 @@ class Message(ChatGetter, SenderGetter, TLObject):
options = find_options() options = find_options()
if options is None: if options is None:
return options = []
return await self._client( return await self._client(
functions.messages.SendVoteRequest( functions.messages.SendVoteRequest(
peer=self._input_chat, peer=self._input_chat,