fix typos

This commit is contained in:
Michael Telatynski 2021-04-13 15:11:46 +01:00
parent 5f59e39958
commit 4af7935e35
2 changed files with 2 additions and 2 deletions

View file

@ -282,7 +282,7 @@ export default class EditMessageComposer extends React.Component {
onAction = payload => { onAction = payload => {
if (payload.action === "edit_composer_insert" && this._editorRef) { if (payload.action === "edit_composer_insert" && this._editorRef) {
if (payload.user_id) { if (payload.userId) {
this._editorRef.insertMention(payload.userId); this._editorRef.insertMention(payload.userId);
} else if (payload.event) { } else if (payload.event) {
this._editorRef.insertQuotedMessage(payload.event); this._editorRef.insertQuotedMessage(payload.event);

View file

@ -488,7 +488,7 @@ export default class SendMessageComposer extends React.Component {
} else if (payload.event) { } else if (payload.event) {
this._editorRef && this._editorRef.insertQuotedMessage(payload.event); this._editorRef && this._editorRef.insertQuotedMessage(payload.event);
} else if (payload.text) { } else if (payload.text) {
this._editorRef && this._editorRef.insertPlaintext(payload.emoji); this._editorRef && this._editorRef.insertPlaintext(payload.text);
} }
break; break;
} }