FixImageQuality: fix embed images

This commit is contained in:
Vendicated 2025-12-20 20:49:08 +01:00
parent ce8e48bb6d
commit 2d51b7cc40
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -68,6 +68,8 @@ export default definePlugin({
if (!contentType?.startsWith("image/") || src.startsWith("data:")) return;
const url = new URL(src);
if (!url.pathname.startsWith("/attachments/")) return;
url.searchParams.set("animated", String(!freeze));
if (!settings.store.originalImagesInChat && mediaLayoutType === "MOSAIC") {