When file attachment download fails it is not handled gracefully
When clicking a file in the Room messages timeline the file is downloaded and opened in a default app for its mime type.
The matrix client should ask home server for an url where to download the file from. This is an URL local to the home server. However if the file has been uploaded by user with his / her matrix account on a different home server the home server Fractal is communicating to has to first retrieve the file into its file store. If this fails it returns an error instead of the file content. For example while I am trying to download a PDF file, the download fails with an error, the error is printed into a file and the simple text file with the json payload is opened in Gedit.
The file reads like this.
{"errcode":"M_UNKNOWN","error":"Failed to fetch remote media"}