Skip to content
Snippets Groups Projects
Commit d29d4132 authored by Emmanuel ROHEE's avatar Emmanuel ROHEE
Browse files

Better indicate in the page feedback section that a user can't join a room...

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
parent 46ac4a2f
Branches
Tags
No related merge requests found
...@@ -396,7 +396,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput']) ...@@ -396,7 +396,8 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
onInit3(); onInit3();
}, },
function(reason) { 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 { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment