Revert "explicitly set audio recording bit rate"

This reverts commit 7135553e42.
This commit is contained in:
or-else
2022-11-26 14:16:15 -08:00
parent 7135553e42
commit 22e782fa2d
11 changed files with 140 additions and 225 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export default class CreateAccountView extends React.PureComponent {
// Utility method for converting cropped avatar blob to bytes for sending inband or
// for uploading it to the server out of band.
uploadAvatar(mime, blob, width, height) {
const readyToUpload = image => {
const readyToUpload = (image) => {
let {mime, blob} = image;
this.setState({imageUrl: URL.createObjectURL(blob), buttonDisabled: true});
if (blob.size > MAX_AVATAR_BYTES) {
+1 -2
View File
@@ -109,8 +109,7 @@ class NewTopicView extends React.Component {
{this.state.tabSelected === 'grp' ?
<NewTopicGroup
tinode={this.props.tinode}
onSubmit={this.handleNewGroupSubmit}
onError={this.props.onError} /> :
onSubmit={this.handleNewGroupSubmit} /> :
this.state.tabSelected === 'byid' ?
<NewTopicById
onSubmit={this.handleGroupByID}