1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-13 09:21:33 +02:00
parent e4d1859fb7
commit ef1a1ebe12

View File

@@ -458,7 +458,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
}
render() {
const content = this.props.mxEvent.getContent() as IMediaEventContent;
const content = this.props.mxEvent.getContent<IMediaEventContent>();
if (this.state.error !== null) {
return (