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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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