Delint
This commit is contained in:
parent
5c78acfca4
commit
3efa699b88
7 changed files with 23 additions and 22 deletions
|
@ -78,6 +78,7 @@ export default class MVideoBody extends React.PureComponent<IBodyProps, IState>
|
|||
|
||||
private getContentUrl(): string|null {
|
||||
const content = this.props.mxEvent.getContent<IMediaEventContent>();
|
||||
// During export, the content url will point to the MSC, which will later point to a local url
|
||||
if (this.props.forExport) return content.file?.url || content.url;
|
||||
const media = mediaFromContent(content);
|
||||
if (media.isEncrypted) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue