This commit is contained in:
Jaiwanth 2021-08-14 00:14:57 +05:30
parent 5c78acfca4
commit 3efa699b88
7 changed files with 23 additions and 22 deletions

View file

@ -86,6 +86,7 @@ export default class MAudioBody extends React.PureComponent<IBodyProps, IState>
if (this.props.forExport) {
const content = this.props.mxEvent.getContent();
// During export, the content url will point to the MSC, which will later point to a local url
const contentUrl = content.file?.url || content.url;
return (
<span className="mx_MAudioBody">