1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

appease the fascist linter

This commit is contained in:
Matthew Hodgson
2018-05-05 22:28:09 +01:00
parent ccd99f4a49
commit af5be5c36c

View File

@@ -163,8 +163,7 @@ export default class extends React.Component {
return this.state.decryptedUrl;
} else if (content.info &&
content.info.mimetype == "image/svg+xml" &&
content.info.thumbnail_url)
{
content.info.thumbnail_url) {
// special case to return client-generated thumbnails for SVGs, if any,
// given we deliberately don't thumbnail them serverside to prevent
// billion lol attacks and similar