Skip to content

Commit

Permalink
Pyrofork: fix send_story method
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Dec 25, 2023
1 parent 454f155 commit 0b5cc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrogram/methods/users/send_story.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ async def send_story(
media_areas=[
await media_area.write(self)
for media_area in media_areas
]
] if media_areas is not None else None
)
)
return await types.Story._parse(self, r.updates[0].story, r.updates[0].peer)

0 comments on commit 0b5cc55

Please sign in to comment.