Fix some media not being cached properly

Most noticeable in the goose chooser.
This commit is contained in:
Nicolas Werner 2021-07-21 16:55:28 +02:00
parent 5e85fa606e
commit 8a300f7333
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -196,7 +196,6 @@ MxcImageProvider::download(const QString &id,
image.setText("original filename", image.setText("original filename",
QString::fromStdString(originalFilename)); QString::fromStdString(originalFilename));
image.setText("mxc url", "mxc://" + id); image.setText("mxc url", "mxc://" + id);
image.save(fileInfo.absoluteFilePath());
then(id, requestedSize, image, fileInfo.absoluteFilePath()); then(id, requestedSize, image, fileInfo.absoluteFilePath());
}); });
} catch (std::exception &e) { } catch (std::exception &e) {