Skip to content
Snippets Groups Projects
Commit 64b6f09b authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

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

parent a73104b5
No related branches found
No related tags found
No related merge requests found
...@@ -485,7 +485,9 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment