Update src/components/views/rooms/EditMessageComposer.js

pull/21833/head
Travis Ralston 2021-05-10 20:03:20 -06:00 committed by GitHub
parent f32eee9475
commit 122565b3ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ export default class EditMessageComposer extends React.Component {
dis.dispatch({action: "edit_event", event: null});
dis.fire(Action.FocusComposer);
}
_isSlashCommand() {
const parts = this.model.parts;
const firstPart = parts[0];