diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-10-27 16:48:43 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-10-27 16:48:43 +0000 |
commit | fc121f9785c66f4f840e92097c8f6051962a6030 (patch) | |
tree | 330a5e4a3684397afab5ef2d4f9dbe916540c8a2 | |
parent | Don't clobber existing css (diff) | |
download | synapse-fc121f9785c66f4f840e92097c8f6051962a6030.tar.xz |
Fix SYWEB-114 : Error message when trying to invite a user already in the room.
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; }); }; |