Rhymen / go-whatsapp

WhatsApp Web API
MIT License
2.07k stars 493 forks source link

invalid media hmac for audio messages, sended with drag-n-drop #643

Open Nikitian opened 2 years ago

Nikitian commented 2 years ago

Problem: can not download sended audio message Steps for reproduce:

  1. Send audio file (mp3) throught drag-n-drop with whatsapp web application
  2. Fires HandleAudioMessage()
  3. Try to execute Download() method
  4. Seen invalid media hmac error

If file sends through "Send document" drop-down menu, file successfully downloads (web version hasn`t "send audio" option). If audio message records into whatsapp web-app, file successfully downloads. Problem only for drag-n-drop sended mp3 files.

DonovanDiamond commented 2 years ago

Unfortunately, this package is not being actively maintained currently and will soon be unusuable as WhatsApp updates to multi-device. Please look at tulir/whatsmeow for a Go WhatsApp Web API that is actively maintained and supports WhatsApp multi-device.