You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
@@ -281,7 +281,7 @@ export default class MessageComposer extends React.Component {
|
||||
}
|
||||
};
|
||||
|
||||
onSendButtonChanged = () => {
|
||||
onShowSendButtonChanged = () => {
|
||||
this.setState({
|
||||
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
|
||||
});
|
||||
@@ -300,7 +300,7 @@ export default class MessageComposer extends React.Component {
|
||||
MatrixClientPeg.get().on("RoomState.events", this._onRoomStateEvents);
|
||||
this._waitForOwnMember();
|
||||
this.showSendButtonRef = SettingsStore.watchSetting(
|
||||
"MessageComposerInput.showSendButton", null, this.onSendButtonChanged);
|
||||
"MessageComposerInput.showSendButton", null, this.onShowSendButtonChanged);
|
||||
}
|
||||
|
||||
_waitForOwnMember() {
|
||||
|
Reference in New Issue
Block a user