Skip to content

Commit

Permalink
Support retracting poll votes on message click without option (#3080)
Browse files Browse the repository at this point in the history
  • Loading branch information
BelgenOp committed Jun 19, 2021
1 parent 7c5efee commit 37b81c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telethon/tl/custom/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ def find_options():

options = find_options()
if options is None:
return
options = []
return await self._client(
functions.messages.SendVoteRequest(
peer=self._input_chat,
Expand Down

0 comments on commit 37b81c6

Please sign in to comment.