From fc121f9785c66f4f840e92097c8f6051962a6030 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 27 Oct 2014 16:48:43 +0000 Subject: [PATCH] Fix SYWEB-114 : Error message when trying to invite a user already in the room. --- webclient/room/room-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index e6149989ea..78520a829d 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -830,7 +830,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput']) $scope.userIDToInvite = ""; }, function(reason) { - $scope.feedback = "Failure: " + reason; + $scope.feedback = "Failure: " + reason.data.error; }); };