Don't use as

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-07-13 08:47:37 +02:00
parent 04098dc74c
commit b5baf404be
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export default class MImageReplyBody extends MImageBody {
return super.render(); return super.render();
} }
const content = this.props.mxEvent.getContent() as IMediaEventContent; const content = this.props.mxEvent.getContent<IMediaEventContent>();
const contentUrl = this.getContentUrl(); const contentUrl = this.getContentUrl();
const thumbnail = this.messageContent(contentUrl, this.getThumbUrl(), content); const thumbnail = this.messageContent(contentUrl, this.getThumbUrl(), content);