Fixed a bug where repeated images (ie stickers) would cancel the message export due to a None content_type.

This commit is contained in:
HuntingFighter 2026-03-26 22:38:14 +01:00
parent 6f94a00714
commit 3971934dbc

View file

@ -631,7 +631,7 @@ class DiscordExporter:
"filename": filename, "filename": filename,
"size": existing["size"], "size": existing["size"],
"url": str(url), "url": str(url),
"content_type": existing["content_type"], "content_type": existing["mime_type"],
"local_hash": existing["hash"] "local_hash": existing["hash"]
} }