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

This commit is contained in:
Emmanuel ROHEE 2014-09-03 11:45:30 +02:00
parent 46ac4a2f85
commit d29d41322a

View file

@ -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 {