0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-07-26 13:09:16 +02:00

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

This commit is contained in:
Matthew Hodgson 2014-09-06 17:48:16 -07:00
parent a73104b566
commit 64b6f09b0d

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