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

This commit is contained in:
Kegan Dougal 2014-10-27 16:48:43 +00:00
parent 332b2869ef
commit fc121f9785

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