diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 11:45:30 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-03 11:45:40 +0200 |
commit | d29d41322a8c99af763f36c4f05b6c19fcb2f7e1 (patch) | |
tree | f989a507d46fb458eb49beb7b08a22d0f114c84b /webclient/room | |
parent | Fill out power level bits in the spec (diff) | |
download | synapse-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 'webclient/room')
-rw-r--r-- | webclient/room/room-controller.js | 3 |
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 { |