0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 00:53:52 +01:00

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