mirror of
https://github.com/jech/galene.git
synced 2024-12-22 15:25:48 +01:00
Display warning when joining a locked group.
This commit is contained in:
parent
5353d0a856
commit
4053d9ca77
1 changed files with 3 additions and 0 deletions
|
@ -2269,6 +2269,9 @@ async function gotJoined(kind, group, perms, status, data, message) {
|
|||
input.placeholder = 'Type /help for help';
|
||||
setTimeout(() => {input.placeholder = '';}, 8000);
|
||||
|
||||
if(status.locked)
|
||||
displayWarning('This group is locked');
|
||||
|
||||
if(typeof RTCPeerConnection === 'undefined')
|
||||
displayWarning("This browser doesn't support WebRTC");
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue