Skip to content

Commit c8d4b32

Browse files
committed
make send_poll also use hash=0
1 parent ed638e1 commit c8d4b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/messages/send_poll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ async def send_poll(
233233
id=self.rnd_id(),
234234
question=await question.write(self),
235235
answers=[await answer.write(self) for answer in answers],
236-
hash=self.rnd_id(),
236+
hash=0,
237237
closed=is_closed,
238238
public_voters=not is_anonymous,
239239
multiple_choice=True if correct_option_ids and len(correct_option_ids) > 1 else allows_multiple_answers,

0 commit comments

Comments
 (0)