mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 00:07:17 +00:00
Fix breaking GIFs while removing metadata
Closes #4109 GIFs can't contain EXIF data and do not contain any other metadata that isn't operationl
This commit is contained in:
parent
b2d5cdd4fc
commit
0e7a5f5c9b
1 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,8 @@ class Uploader {
|
|||
if (
|
||||
store.state.settings.uploadCanvas &&
|
||||
file.type.startsWith("image/") &&
|
||||
!file.type.includes("svg")
|
||||
!file.type.includes("svg") &&
|
||||
file.type !== "image/gif"
|
||||
) {
|
||||
this.renderImage(file, (newFile) => this.performUpload(token, newFile));
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue