1
Fork 0

Display warning when joining a locked group.

This commit is contained in:
Juliusz Chroboczek 2022-03-22 18:18:04 +01:00
parent 5353d0a856
commit 4053d9ca77
1 changed files with 3 additions and 0 deletions

View File

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