summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-27 16:48:43 +0000
committerKegan Dougal <kegan@matrix.org>2014-10-27 16:48:43 +0000
commitfc121f9785c66f4f840e92097c8f6051962a6030 (patch)
tree330a5e4a3684397afab5ef2d4f9dbe916540c8a2
parentDon't clobber existing css (diff)
downloadsynapse-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.js2
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;
             });
     };