mirror of https://github.com/vector-im/riot-web
parent
04098dc74c
commit
b5baf404be
|
@ -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 New Issue