mirror of
https://github.com/element-hq/synapse
synced 2024-08-31 23:20:21 +00:00
fix embarassing bug where in-progress messages get vaped when the previous one gets delivered
This commit is contained in:
parent
dc1f202eca
commit
a0a609e8af
1 changed files with 3 additions and 1 deletions
|
@ -485,7 +485,9 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
||||||
promise.then(
|
promise.then(
|
||||||
function() {
|
function() {
|
||||||
console.log("Request successfully sent");
|
console.log("Request successfully sent");
|
||||||
$scope.textInput = "";
|
if (!echo) {
|
||||||
|
$scope.textInput = "";
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
if (echoMessage) {
|
if (echoMessage) {
|
||||||
// Remove the fake echo message from the room messages
|
// Remove the fake echo message from the room messages
|
||||||
|
|
Loading…
Reference in a new issue