Gajim 1.4.6 can't download files
Versions
- OS: Linux
- Gajim version: 1.4.6 Flatpak
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.0
Steps to reproduce the problem
- Upload any file (.txt for example) using HTTP Upload
- Try to download your file
Expected behavior
The file is downloaded and opened in the text editor
Actual behavior
The file is not downloaded and opened. It used to work in one of the previous Gajim Flatpak builds, started to happen after update.
15.07.2022 20:34:47 (I) gajim.c.preview Start downloading: https://xup.valdikss.org.ru:5281/upload/usNH4NOgyXWTZhXK/test.txt
15.07.2022 20:34:47 (I) gajim.c.preview Not an allowed content type: text/plain, https://xup.valdikss.org.ru:5281/upload/usNH4NOgyXWTZhXK/test.txt
15.07.2022 20:34:47 (W) gajim.c.preview Download failed: https://xup.valdikss.org.ru:5281/upload/usNH4NOgyXWTZhXK/test.txt
15.07.2022 20:34:47 (W) gajim.c.preview Cancelled
I assume it happens for every MIME type which can't be previewed.