From c06d07a2769e49cef8619bea6112bd2f938f0f2f Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Wed, 3 Sep 2014 15:25:59 +0200 Subject: [PATCH] Send unrecognized commands as text message (as before) --- webclient/room/room-controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index 77e93e8930..f07d086e4a 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); }