whatsapp-web.js
whatsapp-web.js copied to clipboard
fix: downloading gifs will often return undefined
PR Details
Bug fix.
Description
Just removed a check for 'FETCHING'.
Related Issue
closes #2029
Motivation and Context
When you try to download gifs it will often return 'undefined'.
How Has This Been Tested
Manually
Types of changes
- [ ] Dependency change
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
- [X] My code follows the code style of this project.
- [ ] I have updated the documentation accordingly (index.d.ts).
@pedrokohler Did you tested on Chrome either and on other media types like images/videos/etc?