Skip to content

Commit

Permalink
Telegram supports m4v streaming (UsergeTeam#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamajay52 authored Jun 5, 2021
1 parent 169a1ef commit 5cb5fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/misc/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ async def upload(message: Message, path: Path, del_path: bool = False,
if 'wt' in message.flags:
with_thumb = False
if path.name.lower().endswith(
(".mkv", ".mp4", ".webm")) and ('d' not in message.flags):
(".mkv", ".mp4", ".webm", ".m4v")) and ('d' not in message.flags):
await vid_upload(message, path, del_path, extra, with_thumb)
elif path.name.lower().endswith(
(".mp3", ".flac", ".wav", ".m4a")) and ('d' not in message.flags):
Expand Down

0 comments on commit 5cb5fce

Please sign in to comment.