tulir / whatsmeow

Go library for the WhatsApp web multidevice API
https://go.mau.fi/whatsmeow
Mozilla Public License 2.0
2.29k stars 427 forks source link

download occasionally returns a thumbnail #570

Closed JenteJan closed 7 months ago

JenteJan commented 7 months ago

Sometimes when running download on an image i get a thumbnail instead (this problem has seemed to only appear since i started downloading images at a later moment than receiving the image message).

I am currently wondering if this problem is a web whatsapp limitation because the image is for whatever reason not able to be fetched from your phone (seeing as the problem seemed to happen when fetching old history or images that haven't arrived on your phone yet.) but it also doesn't really seem consistent, anyways I am looking for a way to know when I get thumbnails instead of images, and how to fetch the actual image, if possible, in this case.

thanks in advance for any help or explaination.

JenteJan commented 7 months ago

nevermind, I was appending an image file instead of overwriting it