Changes the default content disposition for WebP attachments
from *download* to *inline*.

Add WebP codec support side-effect to decode.go. To prevent future
issues caused by possible changes in emoji.go.
Этот коммит содержится в:
Robert Obermeier
2024-04-26 17:06:07 +02:00
коммит произвёл GitHub
родитель 4ba736f018
Коммит 322a500092
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@@ -16,6 +16,7 @@ import (
_ "github.com/oov/psd"
_ "golang.org/x/image/bmp"
_ "golang.org/x/image/tiff"
_ "golang.org/x/image/webp"
)
// DecoderOptions holds configuration options for an image decoder.