From af5be5c36c518627fa40342818efec1e0dd1e938 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 5 May 2018 22:28:09 +0100 Subject: [PATCH] appease the fascist linter --- src/components/views/messages/MImageBody.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/views/messages/MImageBody.js b/src/components/views/messages/MImageBody.js index b50b7a114c..6cc492acf8 100644 --- a/src/components/views/messages/MImageBody.js +++ b/src/components/views/messages/MImageBody.js @@ -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