You've already forked matrix-react-sdk
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:
@@ -163,8 +163,7 @@ export default class extends React.Component {
|
|||||||
return this.state.decryptedUrl;
|
return this.state.decryptedUrl;
|
||||||
} else if (content.info &&
|
} else if (content.info &&
|
||||||
content.info.mimetype == "image/svg+xml" &&
|
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,
|
// special case to return client-generated thumbnails for SVGs, if any,
|
||||||
// given we deliberately don't thumbnail them serverside to prevent
|
// given we deliberately don't thumbnail them serverside to prevent
|
||||||
// billion lol attacks and similar
|
// billion lol attacks and similar
|
||||||
|
|||||||
Reference in New Issue
Block a user