fix embarassing bug where in-progress messages get vaped when the previous one gets delivered

pull/10/head
Matthew Hodgson 2014-09-06 17:48:16 -07:00 committed by Emmanuel ROHEE
parent dc1f202eca
commit a0a609e8af
1 changed files with 3 additions and 1 deletions

View File

@ -485,7 +485,9 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
promise.then(
function() {
console.log("Request successfully sent");
$scope.textInput = "";
if (!echo) {
$scope.textInput = "";
}
/*
if (echoMessage) {
// Remove the fake echo message from the room messages