summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-03 11:45:30 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-03 11:45:40 +0200
commitd29d41322a8c99af763f36c4f05b6c19fcb2f7e1 (patch)
treef989a507d46fb458eb49beb7b08a22d0f114c84b
parentFill out power level bits in the spec (diff)
downloadsynapse-d29d41322a8c99af763f36c4f05b6c19fcb2f7e1.tar.xz
Better indicate in the page feedback section that a user can't join a room (because he has been banned for ex). May be worth to be put in the middle of screen
Diffstat (limited to '')
-rw-r--r--webclient/room/room-controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 48ddda62cc..13bddc5451 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -396,7 +396,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
                             onInit3();
                         },
                         function(reason) {
-                            $scope.feedback = "Can't join room: " + reason;
+                            console.log("Can't join room: " + JSON.stringify(reason));
+                            $scope.feedback = "You do not have permission to join this room";
                         });
                 }
                 else {