mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 22:21:31 +03:00
Rename method
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
c61e41ba77
commit
c9f5c90047
1 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@ export default class MessageComposer extends React.Component {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
onSendButtonChanged = () => {
|
onShowSendButtonChanged = () => {
|
||||||
this.setState({
|
this.setState({
|
||||||
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
|
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
|
||||||
});
|
});
|
||||||
|
@ -300,7 +300,7 @@ export default class MessageComposer extends React.Component {
|
||||||
MatrixClientPeg.get().on("RoomState.events", this._onRoomStateEvents);
|
MatrixClientPeg.get().on("RoomState.events", this._onRoomStateEvents);
|
||||||
this._waitForOwnMember();
|
this._waitForOwnMember();
|
||||||
this.showSendButtonRef = SettingsStore.watchSetting(
|
this.showSendButtonRef = SettingsStore.watchSetting(
|
||||||
"MessageComposerInput.showSendButton", null, this.onSendButtonChanged);
|
"MessageComposerInput.showSendButton", null, this.onShowSendButtonChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
_waitForOwnMember() {
|
_waitForOwnMember() {
|
||||||
|
|
Loading…
Reference in a new issue