This pull request addresses an issue where file downloads were inconsistent in the application. Specifically, while image downloads were functioning correctly, there were problems with the download of other file types, such as PDFs.
Changes Made
To resolve this issue, the following changes were implemented:
onOpen function with correct file SID and file type. It's important to set image variable as undefined otherwise the if (image) bool is true in MessageList.tsx.
All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.
[x ] I acknowledge that all my contributions will be made under the project's license.
Pull Request: Fix File Download Issue
Description
This pull request addresses an issue where file downloads were inconsistent in the application. Specifically, while image downloads were functioning correctly, there were problems with the download of other file types, such as PDFs.
Changes Made
To resolve this issue, the following changes were implemented:
onOpen
function with correct file SID and file type. It's important to set image variable as undefined otherwise theif (image)
bool istrue
inMessageList.tsx
.Contributing to Twilio