Fix some media not being cached properly
Most noticeable in the goose chooser.
This commit is contained in:
parent
5e85fa606e
commit
8a300f7333
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user