Send unrecognized commands as text message (as before)

This commit is contained in:
Emmanuel ROHEE 2014-09-03 15:25:59 +02:00
parent 4c7da89219
commit c06d07a276

View file

@ -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);
}