Don't use as
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
04098dc74c
commit
b5baf404be
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue