Commit 1a23ec14 authored by JC Brand's avatar JC Brand

Move line from parent method into `showMessage`

parent 996a4379
......@@ -827,6 +827,9 @@ converse.plugins.add('converse-chatview', {
} else {
this.scrollDown();
}
if (message.get('correcting')) {
this.insertIntoTextArea(message.get('message'), true, true);
}
},
/**
......@@ -842,9 +845,6 @@ converse.plugins.add('converse-chatview', {
return;
}
await this.showMessage(message);
if (message.get('correcting')) {
this.insertIntoTextArea(message.get('message'), true, true);
}
/**
* Triggered once a message has been added to a chatbox.
* @event _converse#messageAdded
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment