You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
@@ -195,7 +195,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
|||||||
const thumbWidth = 800;
|
const thumbWidth = 800;
|
||||||
const thumbHeight = 600;
|
const thumbHeight = 600;
|
||||||
|
|
||||||
const content = this.props.mxEvent.getContent() as IMediaEventContent;
|
const content = this.props.mxEvent.getContent<IMediaEventContent>();
|
||||||
const media = mediaFromContent(content);
|
const media = mediaFromContent(content);
|
||||||
|
|
||||||
if (media.isEncrypted) {
|
if (media.isEncrypted) {
|
||||||
|
|||||||
Reference in New Issue
Block a user