Remove magnet link check

This commit is contained in:
Schimon Jehudah 2024-01-13 17:27:18 +00:00
parent 43fa1a463c
commit f721059278

View file

@ -245,11 +245,7 @@ async def send_update(self, jid, num=None):
await mark_as_read(db_file, ix)
# Find media
if url.startswith("magnet:"):
media = action.get_magnet(url)
elif enclosure.startswith("magnet:"):
media = action.get_magnet(enclosure)
elif enclosure:
if enclosure:
media = enclosure
else:
media = await action.extract_image_from_html(url)