Skip to content

Commit

Permalink
Partially Revert bf7491a
Browse files Browse the repository at this point in the history
Closes #153
  • Loading branch information
SpEcHiDe authored Feb 14, 2025
1 parent 24896d6 commit 523d8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrogram/types/messages_and_media/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ async def _parse(
video_attributes = attributes[raw.types.DocumentAttributeVideo]

if video_attributes.round_message:
video_note = types.VideoNote._parse(client, media, video_attributes, media.ttl_seconds)
video_note = types.VideoNote._parse(client, doc, video_attributes, media.ttl_seconds)
media_type = enums.MessageMediaType.VIDEO_NOTE
else:
video = types.Video._parse(client, media, video_attributes, file_name, media.ttl_seconds)
Expand Down

0 comments on commit 523d8ba

Please sign in to comment.