mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 22:41:32 +03:00
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 => {
|
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);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue