Merge remote-tracking branch 'upstream/dev' into dev

This commit is contained in:
thororen1234 2025-12-14 15:21:21 -05:00
commit 96b9c7e713
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# Fix Images Quality
Improves quality of images in chat by forcing png format.
Improves quality of images by forcing the original source to be used.
This plugin does not change how others see your images!

View file

@ -9,14 +9,14 @@ import definePlugin from "@utils/types";
export default definePlugin({
name: "FixImagesQuality",
description: "Improves quality of images in chat by forcing png format",
description: "Improves quality of images by forcing the original source to be used.",
authors: [Devs.Nuckyz],
patches: [
{
find: ".handleImageLoad)",
replacement: {
match: /(?<=\i=)"webp"/,
replace: '"png"'
match: /getSrc\(\i\)\{/,
replace: "$& return this.props.src;"
}
}
]