Merge pull request #1972 from matrix-org/t3chguy/media_fixes

fix e2ee file/media stuff
This commit is contained in:
David Baker 2018-06-18 13:56:00 +01:00 committed by GitHub
commit 499bb5cfb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -327,6 +327,7 @@ module.exports = React.createClass({
// will have the correct name when the user tries to download it.
// We can't provide a Content-Disposition header like we would for HTTP.
download: fileName,
rel: "noopener",
target: "_blank",
textContent: _t("Download %(text)s", { text: text }),
}, "*");