Added option to disable send button

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-01-09 09:17:40 +01:00
parent d589c61000
commit c64b2a585f
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
3 changed files with 7 additions and 1 deletions

View file

@ -455,7 +455,7 @@ export default class MessageComposer extends React.Component {
}
}
if (true) {
if (SettingsStore.getValue("MessageComposerInput.sendButton")) {
controls.push((
<AccessibleTooltipButton
className="mx_MessageComposer_button mx_MessageComposer_sendMessage"