fix typos
This commit is contained in:
parent
5f59e39958
commit
4af7935e35
2 changed files with 2 additions and 2 deletions
|
@ -282,7 +282,7 @@ export default class EditMessageComposer extends React.Component {
|
|||
|
||||
onAction = payload => {
|
||||
if (payload.action === "edit_composer_insert" && this._editorRef) {
|
||||
if (payload.user_id) {
|
||||
if (payload.userId) {
|
||||
this._editorRef.insertMention(payload.userId);
|
||||
} else if (payload.event) {
|
||||
this._editorRef.insertQuotedMessage(payload.event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue