Fix some media not being cached properly

Most noticeable in the goose chooser.
pull/651/head
Nicolas Werner 3 years ago
parent 5e85fa606e
commit 8a300f7333
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 1
      src/MxcImageProvider.cpp

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

Loading…
Cancel
Save