diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 77e93e89305011c3646196e2b7aa13c8f0c10244..f07d086e4ae7f88e743f8ef96daaa341507f7970 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -316,7 +316,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
                     break;
             }
         }
-        else {
+        
+        if (!promise) {
             // Send the text message
             promise = matrixService.sendTextMessage($scope.room_id, $scope.textInput);
         }