Fix SYWEB-114 : Error message when trying to invite a user already in the room.

pull/13/head
Kegan Dougal 2014-10-27 16:48:43 +00:00
parent 332b2869ef
commit fc121f9785
1 changed files with 1 additions and 1 deletions

View File

@ -830,7 +830,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
$scope.userIDToInvite = ""; $scope.userIDToInvite = "";
}, },
function(reason) { function(reason) {
$scope.feedback = "Failure: " + reason; $scope.feedback = "Failure: " + reason.data.error;
}); });
}; };