Add more notes

pull/21833/head
Travis Ralston 2021-03-17 00:09:56 -06:00
parent c7b72bc4c4
commit 0f09eb3214
2 changed files with 3 additions and 1 deletions

View File

@ -673,6 +673,8 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
}); });
const classes = classNames("mx_BasicMessageComposer_input", { const classes = classNames("mx_BasicMessageComposer_input", {
"mx_BasicMessageComposer_input_shouldShowPillAvatar": this.state.showPillAvatar, "mx_BasicMessageComposer_input_shouldShowPillAvatar": this.state.showPillAvatar,
// TODO: @@ TravisR: This doesn't work properly. The composer resets in a strange way.
"mx_BasicMessageComposer_input_disabled": this.props.disabled, "mx_BasicMessageComposer_input_disabled": this.props.disabled,
}); });

View File

@ -352,7 +352,7 @@ export default class MessageComposer extends React.Component {
permalinkCreator={this.props.permalinkCreator} permalinkCreator={this.props.permalinkCreator}
replyToEvent={this.props.replyToEvent} replyToEvent={this.props.replyToEvent}
onChange={this.onChange} onChange={this.onChange}
// TODO: TravisR - Disabling the composer doesn't work // TODO: @@ TravisR - Disabling the composer doesn't work
disabled={this.state.haveRecording} disabled={this.state.haveRecording}
/>, />,
); );