1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2021-07-16 16:11:27 -06:00
parent 31d7de628e
commit 4d38218e24
4 changed files with 2 additions and 3 deletions

View File

@@ -242,7 +242,6 @@ export default class MImageBody extends React.Component<IBodyProps, IState> {
}
private async downloadImage() {
const content = this.props.mxEvent.getContent();
if (this.props.mediaEventHelper.media.isEncrypted && this.state.decryptedUrl === null) {
try {
const thumbnailUrl = await this.props.mediaEventHelper.thumbnailUrl.value;