1
Fork 0
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:
Juliusz Chroboczek 2022-03-22 18:18:04 +01:00
parent 5353d0a856
commit 4053d9ca77

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