Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
ddf293e44a
1 changed files with 2 additions and 0 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue