mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 16:27:22 +00:00
Merge pull request #4110 from Nachtalb/na/fix-breaking-gifs
Fix breaking GIFs while removing metadata
This commit is contained in:
commit
aa84e13656
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