This commit is contained in:
Hafitz Setya 2021-08-01 10:47:12 +07:00 committed by GitHub
parent 4f2aa07a95
commit c263056c26
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,10 +274,6 @@ def _mirror(bot, update, isTar=False, extract=False):
file = i
break
reply_text = reply_to.text.split('\n')[0]
if bot_utils.is_magnet(reply_text):
link = reply_text
if not bot_utils.is_url(link) and not bot_utils.is_magnet(link) or len(link) == 0:
if file is not None:
if file.mime_type != "application/x-bittorrent":