Fix regressions around media uploads failing and causing soft crashes (#9549)
This commit is contained in:
parent
be5a8ca3b9
commit
77764d80bc
6 changed files with 17 additions and 218 deletions
|
@ -119,7 +119,7 @@ export default class NotificationsSettingsTab extends React.Component<IProps, IS
|
|||
type = "audio/ogg";
|
||||
}
|
||||
|
||||
const url = await MatrixClientPeg.get().uploadContent(
|
||||
const { content_uri: url } = await MatrixClientPeg.get().uploadContent(
|
||||
this.state.uploadedFile, {
|
||||
type,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue