Send unrecognized commands as text message (as before)
This commit is contained in:
parent
4c7da89219
commit
c06d07a276
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue