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

This commit is contained in:
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

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];