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
1 changed files with 1 additions and 1 deletions

View File

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