fix: Correct message viewtype before recoding image blob (#5496)

Otherwise, e.g. if a message is a large GIF, but its viewtype is set to `Image` by the app, this GIF
will be recoded to JPEG to reduce its size. GIFs and other special viewtypes must be always detected
and sent as is.
This commit is contained in:
iequidoo
2024-04-25 04:02:40 -03:00
committed by iequidoo
parent f49588e64e
commit 20d79970a2
3 changed files with 60 additions and 28 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB