element-hq / element-hq/element-web
"Download attachment" incorrectly reports "Error decrypting attachment" for network errors
Open
A-E2EE
A-File-Download
A-Media
O-Occasional
S-Minor
T-Defect
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
STR:
1. Upload a binary/text attachment (**not** an image/video) to an encrypted room.
2. Suppose that the media repo is having a bad day; alternatively, block requests to `/_matrix/media/v3/download/` in the devtools
3. Click on the attachment (**not** the "download" arrow, the attachment itself)
4. Observe:

Oddly, the download button works correctly (reports "Download failed").
Likely related to https://github.com/element-hq/element-web/issues/27862
Contributor guide
Assessment
This issue has not been assessed yet.