re-focus composer when clicking send button

This commit is contained in:
Bruno Windels 2020-10-05 17:03:46 +02:00
parent a04a6a83be
commit b2e6310775

View file

@ -40,6 +40,7 @@ export class MessageComposer extends TemplateView {
}
_trySend() {
this._input.focus();
if (this.value.sendMessage(this._input.value)) {
this._input.value = "";
}