forked from MirrorHub/synapse
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:
parent
46ac4a2f85
commit
d29d41322a
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue