diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 15:25:59 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 15:25:59 +0200 |
commit | c06d07a2769e49cef8619bea6112bd2f938f0f2f (patch) | |
tree | 9af3623a718d69a3d779bf04de43d77d4a4dc2ce /webclient | |
parent | Do not define power level limits in setUserPowerLevel. Update the function to... (diff) | |
download | synapse-c06d07a2769e49cef8619bea6112bd2f938f0f2f.tar.xz |
Send unrecognized commands as text message (as before)
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room-controller.js | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |