Send unrecognized commands as text message (as before)

paul/schema_breaking_changes
Emmanuel ROHEE 2014-09-03 15:25:59 +02:00
parent 4c7da89219
commit c06d07a276
1 changed files with 2 additions and 1 deletions

View File

@ -316,7 +316,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
break; break;
} }
} }
else {
if (!promise) {
// Send the text message // Send the text message
promise = matrixService.sendTextMessage($scope.room_id, $scope.textInput); promise = matrixService.sendTextMessage($scope.room_id, $scope.textInput);
} }