Remove voice messages labs flag

Fixes https://github.com/vector-im/element-web/issues/17151
This commit is contained in:
Travis Ralston 2021-07-21 18:09:35 -06:00
parent b590b1d263
commit 0e3cc6b8f4
3 changed files with 5 additions and 14 deletions

View file

@ -391,12 +391,10 @@ export default class MessageComposer extends React.Component<IProps, IState> {
controls.push(<Stickerpicker key="stickerpicker_controls_button" room={this.props.room} />);
}
if (SettingsStore.getValue("feature_voice_messages")) {
controls.push(<VoiceRecordComposerTile
key="controls_voice_record"
ref={c => this.voiceRecordingButton = c}
room={this.props.room} />);
}
controls.push(<VoiceRecordComposerTile
key="controls_voice_record"
ref={c => this.voiceRecordingButton = c}
room={this.props.room} />);
if (!this.state.isComposerEmpty || this.state.haveRecording) {
controls.push(