Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat: Visitors promotion (#14119)
Дамян Минков9ebab2c7d0f7
diff --git a/lang/main-ar.json b/lang/main-ar.jsonindex 4ab43173c1..a4d1034972 100644--- a/lang/main-ar.json+++ b/lang/main-ar.json@@ -557,8 +557,6 @@"youtubeTerms": "شروط خدمة يوتيوب"},"lobby": {- "admit": "سمح بالدخول",- "admitAll": "سمح للجميع بالدخول","allow": "اسمح","backToKnockModeButton": "لا يوجد كلمة مرور، اطلب الإذن بالدخول بدلًا من ذلك.","chat": "دردشة",@@ -593,8 +591,6 @@"notificationTitle": "غرفة الانتظار","passwordField": "أدخل كلمة الدخول إلى المُلتقى","passwordJoinButton": "انضم",- "reject": "رفض",- "rejectAll": "رفض الكل","title": "غرفة الانتظار","toggleLabel": "فعِّل غرفة الانتظار"},@@ -720,6 +716,8 @@},"participantsPane": {"actions": {+ "admit": "سمح بالدخول",+ "admitAll": "سمح للجميع بالدخول","allow": "السماح للحاضرين بـ:","allowVideo": "السماح بالفيديو","askUnmute": "اطلب إعادة الصوت",@@ -732,6 +730,7 @@"mute": "كتم الصوت","muteAll": "كتم الكل","muteEveryoneElse": "كتم صوت الآخرين",+ "reject": "رفض","stopEveryonesVideo": "أوقف فيديو الجميع","stopVideo": "أوقف الفيديو","unblockEveryoneMicCamera": "قم بإلغاء حظر ميكروفون وكاميرا الجميع",diff --git a/lang/main-bg.json b/lang/main-bg.jsonindex d39538276c..977a23f883 100644--- a/lang/main-bg.json+++ b/lang/main-bg.json@@ -420,8 +420,6 @@"youtubeTerms": "Условия за ползване на YouTube"},"lobby": {- "admit": "Допусни",- "allow": "Разреши","backToKnockModeButton": "Заявка за включване без парола","dialogTitle": "Режим лоби","disableDialogContent": "Режим Лоби е включен. Този решим защитава срещите Ви от случайни посетители. Искате ли да го изключите?",@@ -450,7 +448,6 @@"notificationTitle": "Лоби","passwordField": "Въведи парола за срещата","passwordJoinButton": "Влез",- "reject": "Откажи","title": "Лоби","toggleLabel": "Включи лоби"},@@ -521,6 +518,13 @@"suboptimalExperienceTitle": "Внимание","unmute": "Пускане на микрофона"},+ "participantsPane": {+ "actions": {+ "admit": "Допусни",+ "allow": "Разреши",+ "reject": "Откажи"+ }+ },"passwordDigitsOnly": "До {{number}} цифри","passwordSetRemotely": "зададена от друг участник","poweredby": "с подкрепата на",diff --git a/lang/main-ca.json b/lang/main-ca.jsonindex 6edbe8d45e..1fc23db9b9 100644--- a/lang/main-ca.json+++ b/lang/main-ca.json@@ -561,8 +561,6 @@"youtubeTerms": "Condicions de servei de YouTube"},"lobby": {- "admit": "Admet",- "admitAll": "Admet tothom","allow": "Permet","backToKnockModeButton": "Demaneu per a unir-vos","chat": "Xat",@@ -597,8 +595,6 @@"notificationTitle": "Sala d'espera","passwordField": "Introduïu la contrasenya de la reunió","passwordJoinButton": "Entra",- "reject": "Rebuja",- "rejectAll": "Rebutja-ho tot","title": "Sala d'espera","toggleLabel": "Activa la sala d'espera"},@@ -727,6 +723,8 @@},"participantsPane": {"actions": {+ "admit": "Admet",+ "admitAll": "Admet tothom","allow": "Permet als assistents:","allowVideo": "Permet el vídeo","askUnmute": "Demanar l'activació el micròfon",@@ -739,6 +737,7 @@"mute": "Silenciar","muteAll": "Silencia tothom","muteEveryoneElse": "Silenciar tothom",+ "reject": "Rebuja","stopEveryonesVideo": "Atura el vídeo a tothom","stopVideo": "Atura el vídeo","unblockEveryoneMicCamera": "Desbloquejar el micròfon i la càmera de tothom",diff --git a/lang/main-cs.json b/lang/main-cs.jsonindex 4d83c0bfdb..61fda818c4 100644--- a/lang/main-cs.json+++ b/lang/main-cs.json@@ -557,8 +557,6 @@"youtubeTerms": "Podmínky používání YouTube"},"lobby": {- "admit": "",- "admitAll": "","allow": "Povolit","backToKnockModeButton": "Žádné heslo, místo toho požádat o přijetí","chat": "",@@ -593,7 +591,6 @@"notificationTitle": "Předsálí","passwordField": "Zadejte heslo setkání","passwordJoinButton": "Vstoupit",- "reject": "Odmítnout","title": "Předsálí","toggleLabel": "Zapnout předsálí"},@@ -719,22 +716,7 @@},"participantsPane": {"actions": {- "allow": "",- "allowVideo": "",- "askUnmute": "",- "audioModeration": "",- "blockEveryoneMicCamera": "",- "invite": "",- "moreModerationActions": "",- "moreModerationControls": "",- "moreParticipantOptions": "",- "mute": "",- "muteAll": "",- "muteEveryoneElse": "",- "stopEveryonesVideo": "",- "stopVideo": "",- "unblockEveryoneMicCamera": "",- "videoModeration": ""+ "reject": "Odmítnout"},"close": "","header": "",diff --git a/lang/main-de.json b/lang/main-de.jsonindex ac30355630..1a4ee7c8af 100644--- a/lang/main-de.json+++ b/lang/main-de.json@@ -636,8 +636,6 @@"youtubeTerms": "YouTube-Nutzungsbedingungen"},"lobby": {- "admit": "Zulassen",- "admitAll": "Alle zulassen","backToKnockModeButton": "Kein Passwort, stattdessen Beitritt anfragen","chat": "Chat","dialogTitle": "Lobbymodus",@@ -671,8 +669,6 @@"notificationLobbyEnabled": "{{originParticipantName}} hat die Lobby aktiviert","notificationTitle": "Lobby","passwordJoinButton": "Beitreten",- "reject": "Ablehnen",- "rejectAll": "Alle ablehnen","title": "Lobby","toggleLabel": "Lobby aktivieren"},@@ -807,6 +803,8 @@},"participantsPane": {"actions": {+ "admit": "Zulassen",+ "admitAll": "Alle zulassen","allow": "Anwesenden erlauben:","allowVideo": "Kamera einschalten","askUnmute": "Anfragen, Stummschaltung aufzuheben",@@ -819,6 +817,7 @@"mute": "Stummschalten","muteAll": "Alle stummschalten","muteEveryoneElse": "Alle anderen stummschalten",+ "reject": "Ablehnen","stopEveryonesVideo": "Alle Kameras ausschalten","stopVideo": "Kamera ausschalten","unblockEveryoneMicCamera": "Kamera und Mikrofon von allen entsperren",diff --git a/lang/main-dsb.json b/lang/main-dsb.jsonindex 65df628250..ea702ffaa2 100644--- a/lang/main-dsb.json+++ b/lang/main-dsb.json@@ -563,8 +563,6 @@"youtubeTerms": "wužywaŕske wustawki za youtube"},"lobby": {- "admit": "pśizwóliś",- "admitAll": "wšyknym pśizwólenje daś","backToKnockModeButton": "mimo kodowego słowa, město togo wó pśistup pšosyś","chat": "chat","dialogTitle": "lobbyjowy modus",@@ -598,8 +596,6 @@"notificationTitle": "lobby","passwordField": "kodowe słowo za konferencu zapódaś","passwordJoinButton": "pśistupiś",- "reject": "wótpokazaś",- "rejectAll": "wšykne wótpokazaś","title": "","toggleLabel": "lobby aktiwěrowaś / deaktiwěrowaś"},@@ -730,6 +726,8 @@},"participantsPane": {"actions": {+ "admit": "pśizwóliś",+ "admitAll": "wšyknym pśizwólenje daś","allow": "wobźělnikam pšawo daś:","allowVideo": "kameru aktiwěrowaś","askUnmute": "pšosbu wó anulěrowanje wuśišenja stajiś",@@ -742,6 +740,7 @@"mute": "wuśišyś","muteAll": "wšyknych wuśišyś","muteEveryoneElse": "wšykne druge wuśišyś",+ "reject": "wótpokazaś","stopEveryonesVideo": "wšykne kamery wušaltowaś","stopVideo": "kameru wušaltowaś","unblockEveryoneMicCamera": "blokěrowane kamery a mikrofon wšyknych zasej aktiwěrowaś",diff --git a/lang/main-el.json b/lang/main-el.jsonindex 078d423f00..454b974363 100644--- a/lang/main-el.json+++ b/lang/main-el.json@@ -580,8 +580,6 @@"youtubeTerms": "Όροι υπηρεσιών YouTube"},"lobby": {- "admit": "Αποδοχή",- "admitAll": "Αποδοχή όλων","backToKnockModeButton": "Αίτημα εισόδου","chat": "Συνομιλία","dialogTitle": "Λειτουργία υποδοχής",@@ -615,8 +613,6 @@"notificationTitle": "Υποδοχή","passwordField": "Εισάγετε τον κωδικό σύσκεψης","passwordJoinButton": "Συμμετοχή",- "reject": "Απόρριψη",- "rejectAll": "Απόρριψη όλων","title": "Υποδοχή","toggleLabel": "Ενεργοποίηση υποδοχής"},@@ -745,6 +741,8 @@},"participantsPane": {"actions": {+ "admit": "Αποδοχή",+ "admitAll": "Αποδοχή όλων","allow": "Επιτρέψτε στους συμμετέχοντες να:","allowVideo": "Επιτρέψτε το βίντεο","askUnmute": "Αίτηση για κατάργηση σίγησης",@@ -757,6 +755,7 @@"mute": "Σίγηση","muteAll": "Σίγηση όλων","muteEveryoneElse": "Σίγηση όλων των άλλων",+ "reject": "Απόρριψη","stopEveryonesVideo": "Διακοπή όλων των βίντεο","stopVideo": "Διακοπή του βίντεο","unblockEveryoneMicCamera": "Επιτρέψτε τα μικρόφωνα και τις κάμερες όλων",diff --git a/lang/main-eo.json b/lang/main-eo.jsonindex 2947722bc3..2f79904d99 100644--- a/lang/main-eo.json+++ b/lang/main-eo.json@@ -561,8 +561,6 @@"youtubeTerms": "Uzkondiĉoj de YouTube"},"lobby": {- "admit": "Akcepti",- "admitAll": "Akcepti ĉion","allow": "Permesi","backToKnockModeButton": "Petu por aliĝi","chat": "Babilejo",@@ -597,8 +595,6 @@"notificationTitle": "Atendejo","passwordField": "Entajpu pasvorton de la renkontiĝo","passwordJoinButton": "Aliĝi",- "reject": "Malakceptu",- "rejectAll": "Malakceptu ĉion","title": "Atendejo","toggleLabel": "Ŝaltu atendejon"},@@ -725,6 +721,8 @@},"participantsPane": {"actions": {+ "admit": "Akcepti",+ "admitAll": "Akcepti ĉion","allow": "Al la partoprenantoj permesi:","allowVideo": "Permesi kameraon","askUnmute": "Peti malsilentigi",@@ -737,6 +735,7 @@"mute": "Silentigi","muteAll": "Silentigi ĉiujn","muteEveryoneElse": "Silentigi ĉiujn aliajn",+ "reject": "Malakceptu","stopEveryonesVideo": "Ĉesigu ĉies videaĵon","stopVideo": "Ĉesigu la videaĵon","unblockEveryoneMicCamera": "Malbloku ĉies mikrofonon kaj kameraon",diff --git a/lang/main-es.json b/lang/main-es.jsonindex e5b31fccd4..3d9c05d2d9 100644--- a/lang/main-es.json+++ b/lang/main-es.json@@ -598,8 +598,6 @@"youtubeTerms": "Términos de servicios de YouTube"},"lobby": {- "admit": "Admitir",- "admitAll": "Admitir todo","backToKnockModeButton": "No hay contraseña, pide permiso para entrar.","chat": "Chat","dialogTitle": "Sala de espera",@@ -633,8 +631,6 @@"notificationTitle": "Sala de espera","passwordField": "Introduce la contraseña de la reunión","passwordJoinButton": "Entrar",- "reject": "Rechazar",- "rejectAll": "Rechazar todo","title": "Sala de espera","toggleLabel": "Activar sala de espera"},@@ -768,6 +764,8 @@},"participantsPane": {"actions": {+ "admit": "Admitir",+ "admitAll": "Admitir todo","allow": "Permitir a los asistentes:","allowVideo": "Permitir vídeo","askUnmute": "Pida que le quiten el silencio",@@ -780,6 +778,7 @@"mute": "Silenciar","muteAll": "Silenciar a todos","muteEveryoneElse": "Silenciar al resto",+ "reject": "Rechazar","stopEveryonesVideo": "Detener el vídeo de todos","stopVideo": "Detener el vídeo","unblockEveryoneMicCamera": "Desbloquear el micrófono y la cámara de todos",diff --git a/lang/main-esUS.json b/lang/main-esUS.jsonindex 6fd3213aa8..f4b0b85775 100644--- a/lang/main-esUS.json+++ b/lang/main-esUS.json@@ -521,8 +521,6 @@"youtubeTerms": "Términos de servicios de YouTube"},"lobby": {- "admit": "Admitir",- "admitAll": "Admitir todo","allow": "permitir","backToKnockModeButton": "No hay contraseña, pide permiso para entrar.","dialogTitle": "Sala de espera",@@ -553,8 +551,6 @@"notificationTitle": "Sala de espera","passwordField": "Introduce la contraseña de la reunión","passwordJoinButton": "Entrar",- "reject": "Rechazar",- "rejectAll": "Rechazar todo","title": "Sala de espera","toggleLabel": "Activar sala de espera"},@@ -652,6 +648,8 @@},"participantsPane": {"actions": {+ "admit": "Admitir",+ "admitAll": "Admitir todo","allow": "Permitir a los asistentes:","allowVideo": "Permitir vídeo","askUnmute": "Pida que le quiten el silencio",@@ -661,6 +659,7 @@"mute": "Silenciar","muteAll": "Silenciar a todos los demás","muteEveryoneElse": "Silenciar al resto",+ "reject": "Rechazar","stopEveryonesVideo": "Detener el vídeo de todos","stopVideo": "Detener el vídeo","unblockEveryoneMicCamera": "Desbloquear el micrófono y la cámara de todos",diff --git a/lang/main-eu.json b/lang/main-eu.jsonindex f8ff424fbb..32d49bffcf 100644--- a/lang/main-eu.json+++ b/lang/main-eu.json@@ -463,8 +463,6 @@"youtubeTerms": "YouTuberen erabilpen baldintzak"},"lobby": {- "admit": "Onartu",- "admitAll": "Onartu guztiak","allow": "Baimendu","backToKnockModeButton": "Ez du pasahitza erabili, baina sartzea eskatu du","dialogTitle": "Itxaron-gela modua",@@ -494,7 +492,6 @@"notificationTitle": "Itxaron-gela","passwordField": "Idatzi bileraren pasahitza","passwordJoinButton": "Sartu",- "reject": "Baztertu","title": "Itxaron-gela","toggleLabel": "Itxaron-gela aktibatu"},@@ -576,8 +573,11 @@},"participantsPane": {"actions": {+ "admit": "Onartu",+ "admitAll": "Onartu guztiak","invite": "Gonbidatu norbait","muteAll": "Ixilarazi guztiak",+ "reject": "Baztertu","stopVideo": "Gelditu bideoa"},"close": "Itxi",diff --git a/lang/main-fa.json b/lang/main-fa.jsonindex eff0544c8d..06cdcc5341 100644--- a/lang/main-fa.json+++ b/lang/main-fa.json@@ -606,8 +606,6 @@"youtubeTerms": "شرایط خدمات یوتیوب"},"lobby": {- "admit": "پذیرفتن",- "admitAll": "پذیرفتن همه","backToKnockModeButton": "درخواست برای پیوستن","chat": "گپ","dialogTitle": "حالت اتاق انتظار",@@ -641,8 +639,6 @@"notificationTitle": "اتاق انتظار","passwordField": "گذرواژهٔ جلسه را وارد کنید","passwordJoinButton": "پیوستن",- "reject": "ردکردن",- "rejectAll": "ردکردن همه","title": "اتاق انتظار","toggleLabel": "فعالکردن اتاق انتظار"},@@ -776,6 +772,8 @@},"participantsPane": {"actions": {+ "admit": "پذیرفتن",+ "admitAll": "پذیرفتن همه","allow": "به حاضران اجازه دهید:","allowVideo": "اجازهٔ ویدیو","askUnmute": "درخواست وصلکردن صدا",@@ -788,6 +786,7 @@"mute": "بیصداکردن","muteAll": "بیصداکردن همه","muteEveryoneElse": "بیصداکردن بقیه افراد",+ "reject": "ردکردن","stopEveryonesVideo": "توقف ویدیوی همه","stopVideo": "توقف ویدیو","unblockEveryoneMicCamera": "رفع مسدودی میکروفون و دوربین همه",diff --git a/lang/main-fr.json b/lang/main-fr.jsonindex 7463887dc2..c5c5f9f713 100644--- a/lang/main-fr.json+++ b/lang/main-fr.json@@ -584,8 +584,6 @@"youtubeTerms": "Conditions d'utilisation de YouTube"},"lobby": {- "admit": "Accepter",- "admitAll": "Tout accepter","backToKnockModeButton": "Aucun mot de passe, demander à rejoindre plutôt","chat": "Chat","dialogTitle": "Mode salle d'attente",@@ -619,8 +617,6 @@"notificationTitle": "Salle d'attente","passwordField": "Veuillez saisir le mot de passe de la réunion","passwordJoinButton": "Rejoindre",- "reject": "Refuser",- "rejectAll": "Refuser tout","title": "Salle d'attente","toggleLabel": "Activer la salle d'attente"},@@ -751,6 +747,8 @@},"participantsPane": {"actions": {+ "admit": "Accepter",+ "admitAll": "Tout accepter","allow": "Autoriser les participants à:","allowVideo": "permettre la vidéo","askUnmute": "Demander de réactiver le micro",@@ -763,6 +761,7 @@"mute": "Couper le micro","muteAll": "Couper le micro de tout le monde","muteEveryoneElse": "Couper le micro de tous les autres",+ "reject": "Refuser","stopEveryonesVideo": "Couper toutes les caméras","stopVideo": "Couper la vidéo","unblockEveryoneMicCamera": "Débloquer tous les micros et caméras",diff --git a/lang/main-hi.json b/lang/main-hi.jsonindex 21cfacd605..213e970309 100644--- a/lang/main-hi.json+++ b/lang/main-hi.json@@ -482,7 +482,6 @@"notificationTitle": "लॉबी","passwordField": "मीटिंग पासवर्ड दर्ज करें","passwordJoinButton": "Join",- "reject": "अस्वीकार","title": "लॉबी","toggleLabel": "लॉबी सक्षम करें"},@@ -559,6 +558,11 @@"videoMutedRemotelyDescription": "You can always turn it on again.","videoMutedRemotelyTitle": "आपका कैमरा {{participantDisplayName}}द्वारा अक्षम कर दिया गया है!"},+ "participantsPane": {+ "actions": {+ "reject": "अस्वीकार"+ }+ },"passwordDigitsOnly": "Up to {{number}} digits","passwordSetRemotely": "दूसरे प्रतिभागी द्वारा निर्धारित","poweredby": "powered by",diff --git a/lang/main-hr.json b/lang/main-hr.jsonindex ab9a9c4137..9a5d23d826 100644--- a/lang/main-hr.json+++ b/lang/main-hr.json@@ -561,8 +561,6 @@"youtubeTerms": "Uvjeti YouTube usluge"},"lobby": {- "admit": "Prihvati",- "admitAll": "Prihvati sve","allow": "Dopusti","backToKnockModeButton": "Zatraži pridruživanje","chat": "Chat",@@ -597,8 +595,6 @@"notificationTitle": "Predvorje","passwordField": "Upiši lozinku sastanka","passwordJoinButton": "Pridruži se",- "reject": "Odbij",- "rejectAll": "Odbij sve","title": "Predvorje","toggleLabel": "Uključi predvorje"},@@ -725,6 +721,8 @@},"participantsPane": {"actions": {+ "admit": "Prihvati",+ "admitAll": "Prihvati sve","allow": "Dozvoli sudionicima da:","allowVideo": "Dozvole video","askUnmute": "Zatraže isključivanje zvuka",@@ -737,6 +735,7 @@"mute": "Isključe zvuk","muteAll": "Isključe zvuk svih sudionika","muteEveryoneElse": "Isključe zvuk svih drugih",+ "reject": "Odbij","stopEveryonesVideo": "Prekinu videa svih","stopVideo": "Prekinu video","unblockEveryoneMicCamera": "Deblokiraju mikrofone i kamere svih sudionika",diff --git a/lang/main-hsb.json b/lang/main-hsb.jsonindex 29e44c461a..514c235670 100644--- a/lang/main-hsb.json+++ b/lang/main-hsb.json@@ -551,8 +551,6 @@"youtubeTerms": "wuměnjenja wužiwanja na YouTube"},"lobby": {- "admit": "přizwolić",- "admitAll": "wšitko přizwolić","allow": "přiwzać","backToKnockModeButton": "žane hesło, město toho wo přistup prosyć","chat": "chat",@@ -587,8 +585,6 @@"notificationTitle": "lobby","passwordField": "konferencne hesło zapodać","passwordJoinButton": "přistupić",- "reject": "wotpokazać",- "rejectAll": "wšitko wotpokazać","title": "lobby","toggleLabel": "lobby aktiwěrować"},@@ -710,6 +706,8 @@},"participantsPane": {"actions": {+ "admit": "přizwolić",+ "admitAll": "wšitko přizwolić","allow": "přitomnym dowolić","allowVideo": "kameru zaswěčić","askUnmute": "wo wotstajenje šaltowanja na němosć prosyć",@@ -722,6 +720,7 @@"mute": "něme šaltować","muteAll": "wšěch němych šaltować","muteEveryoneElse": "wšěch druhich němych šaltować",+ "reject": "wotpokazać","stopEveryonesVideo": "wšitke kamery hasnyć","stopVideo": "kameru hasnyć","unblockEveryoneMicCamera": "kameru a mikrofon wšěch wočinić",diff --git a/lang/main-hu.json b/lang/main-hu.jsonindex 83a03a3ea5..66d6fe199b 100644--- a/lang/main-hu.json+++ b/lang/main-hu.json@@ -462,8 +462,6 @@"youtubeTerms": "YouTube szolgáltatási feltételek"},"lobby": {- "admit": "Engedélyezés",- "admitAll": "Mindet engedélyez","allow": "Engedélyez","backToKnockModeButton": "Csatlakozási kérelem küldése","chat": "Chat",@@ -495,8 +493,6 @@"notificationTitle": "Lobby","passwordField": "Adja meg az értekezlet jelszavát","passwordJoinButton": "Csatlakozás",- "reject": "Elutasít",- "rejectAll": "Mindet elutasít","toggleLabel": "Lobby engedélyezése"},"localRecording": {@@ -579,6 +575,8 @@},"participantsPane": {"actions": {+ "admit": "Engedélyezés",+ "admitAll": "Mindet engedélyez","allow": "Engedélyezés a résztvevőknek, hogy:","allowVideo": "Videó engedélyezése","askUnmute": "Kérje a némítás feloldását",@@ -591,6 +589,7 @@"mute": "Némítás","muteAll": "Mindenkit elnémít","muteEveryoneElse": "Mute everyone else",+ "reject": "Elutasít","stopEveryonesVideo": "Mindenki videójának leállítása","stopVideo": "Videó leállítása","unblockEveryoneMicCamera": "Unblock everyone's mic and camera",diff --git a/lang/main-it.json b/lang/main-it.jsonindex d3ceab8b22..d010b8d0fb 100644--- a/lang/main-it.json+++ b/lang/main-it.json@@ -561,8 +561,6 @@"youtubeTerms": "Condizioni di utilizzo di YouTube"},"lobby": {- "admit": "Ammetti",- "admitAll": "Ammetti tutti","allow": "Autorizza","backToKnockModeButton": "Nessuna password, richiedi l'accesso","chat": "Conversazione",@@ -597,8 +595,6 @@"notificationTitle": "Sala d'attesa","passwordField": "Inserisci la password della riunione","passwordJoinButton": "Entra",- "reject": "Respingi",- "rejectAll": "Respingi tutti","title": "Sala d'attesa","toggleLabel": "Attiva sala d'attesa"},@@ -725,6 +721,8 @@},"participantsPane": {"actions": {+ "admit": "Ammetti",+ "admitAll": "Ammetti tutti","allow": "Permetti ai partecipanti di:","allowVideo": "Autorizza video","askUnmute": "Chiedi di accendere microfono",@@ -737,6 +735,7 @@"mute": "Silenzia","muteAll": "Silenzia tutti","muteEveryoneElse": "Silenzia tutti gli altri",+ "reject": "Respingi","stopEveryonesVideo": "Ferma il video di tutti","stopVideo": "Ferma il video","unblockEveryoneMicCamera": "Sblocca audio e video a tutti",diff --git a/lang/main-ja.json b/lang/main-ja.jsonindex 1174c5b456..ed89e50b69 100644--- a/lang/main-ja.json+++ b/lang/main-ja.json@@ -525,8 +525,6 @@"youtubeTerms": "YouTube サービス利用規約"},"lobby": {- "admit": "許可",- "admitAll": "全員許可","allow": "許可","backToKnockModeButton": "参加を依頼","dialogTitle": "ロビーモード",@@ -557,8 +555,6 @@"notificationTitle": "ロビー","passwordField": "ミーティングパスワードを入力してください","passwordJoinButton": "参加",- "reject": "却下",- "rejectAll": "全員却下","title": "ロビー","toggleLabel": "ロビーを有効"},@@ -671,6 +667,8 @@},"participantsPane": {"actions": {+ "admit": "許可",+ "admitAll": "全員許可","allow": "参加者に次のことを許可:","allowVideo": "ビデオを許可","askUnmute": "ミュート解除を依頼",@@ -683,6 +681,7 @@"mute": "ミュート","muteAll": "全員をミュート","muteEveryoneElse": "他のすべての人をミュート",+ "reject": "却下","stopEveryonesVideo": "全員のビデオを停止","stopVideo": "ビデオを停止","unblockEveryoneMicCamera": "全員のマイクとビデオのブロックを解除",diff --git a/lang/main-kab.json b/lang/main-kab.jsonindex 78d3be99aa..077181efea 100644--- a/lang/main-kab.json+++ b/lang/main-kab.json@@ -498,8 +498,6 @@"youtubeTerms": "Tiwtilin n yimeẓla n Youtube"},"lobby": {- "admit": "Steεref",- "admitAll": "Steεref s kullec","allow": "Sireg","backToKnockModeButton": "Ulac awal uffir, suter attekki deg ubdil-is","dialogTitle": "Askar Lobby",@@ -530,8 +528,6 @@"notificationTitle": "Taxxamt n uraǧu","passwordField": "Sekcem awal uffir n temlilit","passwordJoinButton": "Semlil",- "reject": "Agi",- "rejectAll": "Agi akk","title": "Taxxamt n uraǧu","toggleLabel": "Rmed Lobby"},@@ -628,6 +624,8 @@},"participantsPane": {"actions": {+ "admit": "Steεref",+ "admitAll": "Steεref s kullec","allow": "Sireg i yimttekkiyen ad:","allowVideo": "Sireg tavidyut","askUnmute": "Suter tririt n ṣṣut",@@ -637,6 +635,7 @@"mute": "Asusam","muteAll": "Sgugem meṛṛa","muteEveryoneElse": "Sgugem-iten i meṛṛa",+ "reject": "Agi","stopEveryonesVideo": "Seḥbes tavidyut n yal yiwen","stopVideo": "Seḥbes tavidyut n Youtube","unblockEveryoneMicCamera": "Serreḥ i usawaḍ d tkamiṛat n yal yiwen",diff --git a/lang/main-lv.json b/lang/main-lv.jsonindex 52514b70a5..fe3d63c669 100644--- a/lang/main-lv.json+++ b/lang/main-lv.json@@ -642,8 +642,6 @@"youtubeTerms": "YouTube pakalpojumu sniegšanas noteikumi"},"lobby": {- "admit": "Apstiprināt",- "admitAll": "Apstiprināt visus","backToKnockModeButton": "Pajautāt pievienoties","chat": "Tērzēšana","dialogTitle": "Vestibila režīms",@@ -677,8 +675,6 @@"notificationLobbyEnabled": "Vestibilu iespējoja {{originParticipantName}}","notificationTitle": "Vestibils","passwordJoinButton": "Pievienoties",- "reject": "Noraidīt",- "rejectAll": "Noraidīt visus","title": "Vestibils","toggleLabel": "Iespējot vestibilu"},@@ -816,6 +812,8 @@},"participantsPane": {"actions": {+ "admit": "Apstiprināt",+ "admitAll": "Apstiprināt visus","allow": "Atļaut dalībniekiem:","allowVideo": "Atļaut video","askUnmute": "Lūgt ieslēgt skaņu",@@ -829,6 +827,7 @@"mute": "Apklusināt","muteAll": "Apklusināt visus","muteEveryoneElse": "Apklusināt pārējos",+ "reject": "Noraidīt","stopEveryonesVideo": "Izslēgt visiem video","stopVideo": "Izslēgt video","unblockEveryoneMicCamera": "Atbloķēt visiem mikrofonu un kameru",diff --git a/lang/main-ml.json b/lang/main-ml.jsonindex 9d97ab2dba..ca525406d5 100644--- a/lang/main-ml.json+++ b/lang/main-ml.json@@ -464,7 +464,6 @@"notificationTitle": "ലോബി","passwordField": "മീറ്റിംഗ് പാസ്വേഡ് നൽകുക","passwordJoinButton": "ചേരുക",- "reject": "നിരസിക്കുക","title": "ലോബി","toggleLabel": "ലോബി പ്രവർത്തനക്ഷമമാക്കുക"},@@ -539,6 +538,11 @@"suboptimalExperienceTitle": "ബ്രൗസർ മുന്നറിയിപ്പ്","unmute": "അൺമ്യൂട്ട്"},+ "participantsPane": {+ "actions": {+ "reject": "നിരസിക്കുക"+ }+ },"passwordDigitsOnly": "{{number}} അക്കങ്ങൾ വരെ","passwordSetRemotely": "മറ്റൊരു പങ്കാളി സജ്ജമാക്കിയത്","poweredby": "powered by",diff --git a/lang/main-mn.json b/lang/main-mn.jsonindex 73651ce5d7..a029acd932 100644--- a/lang/main-mn.json+++ b/lang/main-mn.json@@ -586,8 +586,6 @@"youtubeTerms": "YouTube үйлчилгээний нөхцөл"},"lobby": {- "admit": "Ok",- "admitAll": "Бүгдийг зөвшөөр","backToKnockModeButton": "Зөвшөөрөл хүсэх","chat": "Зурвас","dialogTitle": "Лобби горим",@@ -621,8 +619,6 @@"notificationTitle": "Лобби","passwordField": "Нууц үгээ оруулна уу","passwordJoinButton": "Оролцох",- "reject": "Татгалзах",- "rejectAll": "Бүгдийг татгалзуулах","title": "Лобби","toggleLabel": "Лобби идэвхижүүлэх"},@@ -755,6 +751,8 @@},"participantsPane": {"actions": {+ "admit": "Ok",+ "admitAll": "Бүгдийг зөвшөөр","allow": "Оролцогчийг зөвшөөрөх:","allowVideo": "Дүрс зөвшөөрөх","askUnmute": "Дуугаа нээхийг хүсэх",@@ -767,6 +765,7 @@"mute": "Дуугүй болгох","muteAll": "Бүгдийг дуугүй болгох","muteEveryoneElse": "Бүгдийг дуугүй болгох",+ "reject": "Татгалзах","stopEveryonesVideo": "Бүгдийн дүрсийг хаах","stopVideo": "Дүрс хаах","unblockEveryoneMicCamera": "Бүх хүний микрофон, камерыг нээх",diff --git a/lang/main-nl.json b/lang/main-nl.jsonindex 08cc217b82..14d94e7e42 100644--- a/lang/main-nl.json+++ b/lang/main-nl.json@@ -486,8 +486,6 @@"youtubeTerms": "Servicevoorwaarden YouTube"},"lobby": {- "admit": "Toelaten",- "admitAll": "Allen toelaten","allow": "Toestaan","backToKnockModeButton": "Geen wachtwoord, vraag om deel te mogen nemen","dialogTitle": "Lobby-modus",@@ -519,8 +517,6 @@"notificationTitle": "Lobby","passwordField": "Voer wachtwoord voor vergadering in","passwordJoinButton": "Deelnemen",- "reject": "Afwijzen",- "rejectAll": "Allen afwijzen","title": "Lobby","toggleLabel": "Lobby inschakelen"},@@ -624,6 +620,8 @@},"participantsPane": {"actions": {+ "admit": "Toelaten",+ "admitAll": "Allen toelaten","allow": "Sta deelnemers toe:","allowVideo": "Video toestaan","askUnmute": "Vragen om dempen op te heffen",@@ -636,6 +634,7 @@"mute": "Dempen","muteAll": "Allen dempen","muteEveryoneElse": "Alle anderen dempen",+ "reject": "Afwijzen","stopEveryonesVideo": "Camera's van iedereen uitzetten","stopVideo": "Camera uitzetten","unblockEveryoneMicCamera": "Deblokkeer microfoon en camera van allen",diff --git a/lang/main-oc.json b/lang/main-oc.jsonindex ce6d769111..c85adc30f5 100644--- a/lang/main-oc.json+++ b/lang/main-oc.json@@ -524,8 +524,6 @@"youtubeTerms": "Condicions d’utilizacion de YouTube"},"lobby": {- "admit": "Acceptar",- "admitAll": "Tot acceptar","allow": "Autorizar","backToKnockModeButton": "Cap de senhal, demandar a participar a la plaça","dialogTitle": "Mòde sala d'espèra",@@ -556,8 +554,6 @@"notificationTitle": "Sala d'espèra","passwordField": "Picatz lo senhal de la conferéncia","passwordJoinButton": "Rejónher",- "reject": "Regetar",- "rejectAll": "Tot regetar","title": "Sala d'espèra","toggleLabel": "Activar la sala d'espèra"},@@ -670,6 +666,8 @@},"participantsPane": {"actions": {+ "admit": "Acceptar",+ "admitAll": "Tot acceptar","allow": "Permetre als convidats de :","allowVideo": "Autorizar la vidèo","askUnmute": "Demandar a restablir lo son",@@ -682,6 +680,7 @@"mute": "Amudir","muteAll": "Amudir tot lo monde","muteEveryoneElse": "Amudir tot los demai",+ "reject": "Regetar","stopEveryonesVideo": "Arrestar la vidèo de tot lo monde","stopVideo": "Arrestar la vidèo","unblockEveryoneMicCamera": "Desblocar lo microfòn e la camèra de tot lo monde",diff --git a/lang/main-pl.json b/lang/main-pl.jsonindex 4b1725acaf..f41eac5850 100644--- a/lang/main-pl.json+++ b/lang/main-pl.json@@ -586,8 +586,6 @@"youtubeTerms": "Warunki użytkowania YouTube"},"lobby": {- "admit": "Pozwól",- "admitAll": "Pozwól wszystkim","backToKnockModeButton": "Brak hasła, poproś o dołączenie","chat": "Chat","dialogTitle": "Lobby",@@ -621,8 +619,6 @@"notificationTitle": "Lobby","passwordField": "Wprowadź hasło","passwordJoinButton": "Dołącz",- "reject": "Odrzuć",- "rejectAll": "Odrzuć wszystkich","title": "Lobby","toggleLabel": "Włącz / Wyłącz lobby"},@@ -756,6 +752,8 @@},"participantsPane": {"actions": {+ "admit": "Pozwól",+ "admitAll": "Pozwól wszystkim","allow": "Zezwól uczestnikom na:","allowVideo": "Zezwól na wideo","askUnmute": "Poproś o wyłączenie wyciszenia",@@ -768,6 +766,7 @@"mute": "Wycisz","muteAll": "Wycisz wszystkich","muteEveryoneElse": "Wycisz pozostałych",+ "reject": "Odrzuć","stopEveryonesVideo": "Wyłącz wszystkie kamery","stopVideo": "Wyłącz kamerę","unblockEveryoneMicCamera": "Odblokuj wszystkim kamerę i mikrofon",diff --git a/lang/main-pt.json b/lang/main-pt.jsonindex fc4cb71001..822b152e0a 100644--- a/lang/main-pt.json+++ b/lang/main-pt.json@@ -641,8 +641,6 @@"youtubeTerms": "Termos de serviços do YouTube"},"lobby": {- "admit": "Aceitar",- "admitAll": "Aceitar todos","backToKnockModeButton": "Peça para aderir","chat": "Chat","dialogTitle": "Modo sala de espera",@@ -676,8 +674,6 @@"notificationLobbyEnabled": "A sala de espera foi activada por {{originParticipantName}}","notificationTitle": "Sala de espera","passwordJoinButton": "Solicitar",- "reject": "Rejeitar",- "rejectAll": "Rejeitar todos","title": "Sala de espera","toggleLabel": "Ativar sala de espera"},@@ -815,6 +811,8 @@},"participantsPane": {"actions": {+ "admit": "Aceitar",+ "admitAll": "Aceitar todos","allow": "Permitir aos participantes:","allowVideo": "Permitir vídeo","askUnmute": "Pedir para ligar o som",@@ -828,6 +826,7 @@"mute": "Silenciar","muteAll": "Silenciar todos","muteEveryoneElse": "Silenciar todos os outros",+ "reject": "Rejeitar","stopEveryonesVideo": "Desligar a câmara de todos","stopVideo": "Desligar a câmara","unblockEveryoneMicCamera": "Desbloquear o microfone e a câmara de todos",diff --git a/lang/main-ptBR.json b/lang/main-ptBR.jsonindex 5c0b1a69e9..b64f74bcbd 100644--- a/lang/main-ptBR.json+++ b/lang/main-ptBR.json@@ -642,8 +642,6 @@"youtubeTerms": "Termos de serviços do YouTube"},"lobby": {- "admit": "Aceitar",- "admitAll": "Aceitar todos","backToKnockModeButton": "Sem senha, peça para se juntar","chat": "Chat","dialogTitle": "Modo sala de espera",@@ -677,8 +675,6 @@"notificationLobbyEnabled": "Sala de espera foi habilitada por {{originParticipantName}}","notificationTitle": "Sala de espera","passwordJoinButton": "Solicitar",- "reject": "Rejeitar",- "rejectAll": "Rejeitar todos","title": "Sala de espera","toggleLabel": "Habilitar sala de espera"},@@ -816,6 +812,8 @@},"participantsPane": {"actions": {+ "admit": "Aceitar",+ "admitAll": "Aceitar todos","allow": "Permitir aos participantes:","allowVideo": "Permitir vídeo","askUnmute": "Pedir para ativar som",@@ -829,6 +827,7 @@"mute": "Silenciar","muteAll": "Silenciar todos","muteEveryoneElse": "Silenciar todos os demais",+ "reject": "Rejeitar","stopEveryonesVideo": "Parar vídeo de todos","stopVideo": "Parar vídeo","unblockEveryoneMicCamera": "Desbloquear microfone e câmera de todos",diff --git a/lang/main-ru.json b/lang/main-ru.jsonindex d102e1315e..7c6b214a5e 100644--- a/lang/main-ru.json+++ b/lang/main-ru.json@@ -557,8 +557,6 @@"youtubeTerms": "Условия использования YouTube"},"lobby": {- "admit": "Признать",- "admitAll": "Признать все","backToKnockModeButton": "Попросить присоединиться","chat": "Чат","dialogTitle": "Режим лобби",@@ -592,8 +590,6 @@"notificationTitle": "Лобби","passwordField": "Введите пароль встречи","passwordJoinButton": "Присоединиться",- "reject": "Отказать",- "rejectAll": "Отказать всем","title": "Лобби","toggleLabel": "Включить лобби"},@@ -720,6 +716,8 @@},"participantsPane": {"actions": {+ "admit": "Признать",+ "admitAll": "Признать все","allow": "Разрешить","allowVideo": "Разрешить видео","askUnmute": "Попросить разрешение включить микрофон",@@ -732,6 +730,7 @@"mute": "Выключить звук","muteAll": "Выключить звук у всех","muteEveryoneElse": "Выключить микрофон у остальных",+ "reject": "Отказать","stopEveryonesVideo": "Выключить у всех камеру","stopVideo": "Остановить видео","unblockEveryoneMicCamera": "Разблокировать у всех микрофон и камеру",diff --git a/lang/main-sc.json b/lang/main-sc.jsonindex 225f42f10d..638bbf7652 100644--- a/lang/main-sc.json+++ b/lang/main-sc.json@@ -561,8 +561,6 @@"youtubeTerms": "Cunditziones de servìtziu de YouTube"},"lobby": {- "admit": "Ammite",- "admitAll": "Ammite totu","allow": "Permite","backToKnockModeButton": "Pedi de intrare","chat": "Tzarrada",@@ -597,8 +595,6 @@"notificationTitle": "Aposentu de abetu","passwordField": "Inserta sa crae de sa riunione","passwordJoinButton": "Aderi",- "reject": "Refuda",- "rejectAll": "Refuda totu","title": "Aposentu de abetu","toggleLabel": "Ativa s'aposentu de abetu"},@@ -727,6 +723,8 @@},"participantsPane": {"actions": {+ "admit": "Ammite",+ "admitAll": "Ammite totu","allow": "Permite a is partetzipantes:","allowVideo": "Permite vìdeu","askUnmute": "Pedi de ativare su micròfonu",@@ -739,6 +737,7 @@"mute": "A sa muda","muteAll": "Totu a sa muda","muteEveryoneElse": "Pone totus a sa muda",+ "reject": "Refuda","stopEveryonesVideo": "Istuda su vìdeu de totu is partetzipantes","stopVideo": "Firma su vìdeu","unblockEveryoneMicCamera": "Isbloca su micròfonu e sa càmera de totu is partetzipantes",diff --git a/lang/main-sk.json b/lang/main-sk.jsonindex 430403a00a..cf7fcbd8bf 100644--- a/lang/main-sk.json+++ b/lang/main-sk.json@@ -466,7 +466,6 @@"notificationTitle": "Čakáreň","passwordField": "Zadajte heslo do konferencie","passwordJoinButton": "Vstúpiť",- "reject": "Odmietnuť","title": "Čakáreň","toggleLabel": "Zapnúť čakáreň"},@@ -541,6 +540,11 @@"suboptimalExperienceTitle": "Prehliadačové varovanie","unmute": "Zapnúť mikrofón"},+ "participantsPane": {+ "actions": {+ "reject": "Odmietnuť"+ }+ },"passwordDigitsOnly": "až {{number}} číslic","passwordSetRemotely": "nastavené iným účastníkom","poweredby": "založené na",diff --git a/lang/main-sl.json b/lang/main-sl.jsonindex eda8a8d29a..7ce87fd4cc 100644--- a/lang/main-sl.json+++ b/lang/main-sl.json@@ -499,8 +499,6 @@"youtubeTerms": "Pogoji uporabe YouTube"},"lobby": {- "admit": "Sprejmi",- "admitAll": "Sprejmi vse","allow": "Dovoli","backToKnockModeButton": "Prosi za dostop","dialogTitle": "Način predsobe",@@ -531,8 +529,6 @@"notificationTitle": "Predsoba","passwordField": "Vnesite geslo sestanka","passwordJoinButton": "Pridruži se",- "reject": "Zavrni",- "rejectAll": "Zavrni vse","title": "Predsoba","toggleLabel": "Omogoči predsobo"},@@ -629,6 +625,8 @@},"participantsPane": {"actions": {+ "admit": "Sprejmi",+ "admitAll": "Sprejmi vse","allow": "Udeleženci si lahko:","allowVideo": "Dovoli video","askUnmute": "Prosi za vklop mikrofona",@@ -638,6 +636,7 @@"mute": "Izklopi zvok","muteAll": "Izklopi zvok vsem","muteEveryoneElse": "Izklopi zvok vsem ostalim",+ "reject": "Zavrni","stopEveryonesVideo": "Izklopi video vsem ostalim","stopVideo": "Izklopi video","unblockEveryoneMicCamera": "Dovoli zvok in video vsem udeležencem",diff --git a/lang/main-sq.json b/lang/main-sq.jsonindex c68b58f5a1..c77030acbf 100644--- a/lang/main-sq.json+++ b/lang/main-sq.json@@ -582,8 +582,6 @@"youtubeTerms": "Kushte shërbimi YouTube"},"lobby": {- "admit": "Pranoje",- "admitAll": "Pranoji të tërë","backToKnockModeButton": "Kërkoji të marrë pjesë","chat": "Fjalosje","dialogTitle": "Mënyra holl",@@ -617,8 +615,6 @@"notificationTitle": "Holl","passwordField": "Jepni fjalëkalim takimi","passwordJoinButton": "Hyni",- "reject": "Hidhe poshtë",- "rejectAll": "Hidhi poshtë të tërë","title": "Holl","toggleLabel": "Aktivizoni hollin"},@@ -749,6 +745,8 @@},"participantsPane": {"actions": {+ "admit": "Pranoje",+ "admitAll": "Pranoji të tërë","allow": "Lejoju pjesëmarrësve të:","allowVideo": "Çaktivizoni videon","askUnmute": "Kërkoni heqje heshtimi",@@ -761,6 +759,7 @@"mute": "Heshtoje","muteAll": "Heshtoji të tërë","muteEveryoneElse": "Heshto gjithkënd tjetër",+ "reject": "Hidhe poshtë","stopEveryonesVideo": "Ndal videon e gjithkujt","stopVideo": "Ndale videon","unblockEveryoneMicCamera": "Zhblloko mikrofonin dhe kamerën e gjithkujt",diff --git a/lang/main-sv.json b/lang/main-sv.jsonindex ab9d80f944..5bdf8604c6 100644--- a/lang/main-sv.json+++ b/lang/main-sv.json@@ -587,8 +587,6 @@"youtubeTerms": "Tjänstevillkor för YouTube"},"lobby": {- "admit": "Godkänn",- "admitAll": "Godkänn alla","backToKnockModeButton": "Tillbaka till väntrum","chat": "Chatt","dialogTitle": "Väntrum",@@ -622,8 +620,6 @@"notificationTitle": "Väntrum","passwordField": "Ange möteslösenord","passwordJoinButton": "Anslut",- "reject": "Avvisa",- "rejectAll": "Avvisa alla","title": "Lobby","toggleLabel": "Aktivera väntrum"},@@ -757,6 +753,8 @@},"participantsPane": {"actions": {+ "admit": "Godkänn",+ "admitAll": "Godkänn alla","allow": "Låt deltagarna:","allowVideo": "Tillåt kamera","askUnmute": "Be om att aktivera ljud",@@ -769,6 +767,7 @@"mute": "Stäng av ljud","muteAll": "Stäng av allt ljud","muteEveryoneElse": "Inaktivera ljud för alla deltagare",+ "reject": "Avvisa","stopEveryonesVideo": "Inaktivera allas video","stopVideo": "Inaktivera video","unblockEveryoneMicCamera": "Aktivera allas mikrofon och kamera",diff --git a/lang/main-te.json b/lang/main-te.jsonindex eef0aca660..ba6d9ac1a5 100644--- a/lang/main-te.json+++ b/lang/main-te.json@@ -455,8 +455,6 @@"youtubeTerms": "యూట్యూబ్ సేవా నియమాలు"},"lobby": {- "admit": "అనుమతించు",- "allow": "అనుమతించు","backToKnockModeButton": "సంకేతపదం లేదు, చేర్చుకోమని అడుగు","dialogTitle": "Lobby mode","disableDialogContent": "Lobby mode is currently enabled. This feature ensures that unwanted participants can't join your meeting. Do you want to disable it?",@@ -485,7 +483,6 @@"notificationTitle": "Lobby","passwordField": "సమావేశం సంకేతపదం ఇవ్వండి","passwordJoinButton": "చేరు",- "reject": "నిరాకరించు","title": "Lobby","toggleLabel": "Enable lobby"},@@ -566,8 +563,11 @@},"participantsPane": {"actions": {+ "admit": "అనుమతించు",+ "allow": "అనుమతించు","invite": "ప్రజలను ఆహ్వానించు","muteAll": "అందరినీ మౌనించు",+ "reject": "నిరాకరించు","stopVideo": "వీడియో ఆపివేయి"},"headings": {diff --git a/lang/main-tr.json b/lang/main-tr.jsonindex 9cc022bb15..ac2d23aff4 100644--- a/lang/main-tr.json+++ b/lang/main-tr.json@@ -561,8 +561,6 @@"youtubeTerms": "YouTube hizmet şartları"},"lobby": {- "admit": "Kabul et",- "admitAll": "Hepsini kabul et","allow": "İzin ver","backToKnockModeButton": "Parola yok, bunun yerine katılmayı isteyin","chat": "Sohbet et",@@ -597,8 +595,6 @@"notificationTitle": "Lobi","passwordField": "Toplantı parolasını giriniz","passwordJoinButton": "Katıl",- "reject": "Reddet",- "rejectAll": "Hepsini reddet","title": "Lobi","toggleLabel": "Lobiyi etkinleştir"},@@ -725,6 +721,8 @@},"participantsPane": {"actions": {+ "admit": "Kabul et",+ "admitAll": "Hepsini kabul et","allow": "Katılımcıların şunları yapmasına izin ver:","allowVideo": "Video'ya izin ver","askUnmute": "Sesi açmayı iste",@@ -737,6 +735,7 @@"mute": "Sessize al","muteAll": "Herkesi sessize al","muteEveryoneElse": "Diğer herkesi sessize al",+ "reject": "Reddet","stopEveryonesVideo": "Herkesin videosunu durdur","stopVideo": "Video'yu durdur","unblockEveryoneMicCamera": "Herkesin mikrofonunun ve kamerasının engellemesini kaldır",diff --git a/lang/main-uk.json b/lang/main-uk.jsonindex e76f528497..e77325327f 100644--- a/lang/main-uk.json+++ b/lang/main-uk.json@@ -584,8 +584,6 @@"youtubeTerms": "Умови надання послуг YouTube"},"lobby": {- "admit": "Допустити",- "admitAll": "Допустити всіх","backToKnockModeButton": "Запитати дозволу","chat": "Чат","dialogTitle": "Приймальна",@@ -619,8 +617,6 @@"notificationTitle": "Приймальна","passwordField": "Ввести пароль зустрічі","passwordJoinButton": "Приєднатися",- "reject": "Відмовити",- "rejectAll": "Відмовити всім","title": "Приймальна","toggleLabel": "Увімкнути приймальну"},@@ -753,6 +749,8 @@},"participantsPane": {"actions": {+ "admit": "Допустити",+ "admitAll": "Допустити всіх","allow": "Дозволити учасникам:","allowVideo": "Розблокувати камеру","askUnmute": "Надати слово",@@ -765,6 +763,7 @@"mute": "Вимкнути мікрофон","muteAll": "Вимкнути мікрофони всім","muteEveryoneElse": "Вимкнути мікрофони всім іншим",+ "reject": "Відмовити","stopEveryonesVideo": "Вимкнути камери всім","stopVideo": "Вимкнути камеру","unblockEveryoneMicCamera": "Розблокувати всім мікрофон і камеру",diff --git a/lang/main-zhCN.json b/lang/main-zhCN.jsonindex 045b44ccfa..3ea7210345 100644--- a/lang/main-zhCN.json+++ b/lang/main-zhCN.json@@ -627,8 +627,6 @@"youtubeTerms": "YouTube服务条款"},"lobby": {- "admit": "同意",- "admitAll": "同意全部","backToKnockModeButton": "请求加入","chat": "聊天","dialogTitle": "大厅模式",@@ -662,8 +660,6 @@"notificationTitle": "大厅","passwordField": "输入会议密码","passwordJoinButton": "加入",- "reject": "拒绝",- "rejectAll": "拒绝全部","title": "大厅","toggleLabel": "开启大厅模式"},@@ -798,6 +794,8 @@},"participantsPane": {"actions": {+ "admit": "同意",+ "admitAll": "同意全部","allow": "允许参会者:","allowVideo": "允许视频","askUnmute": "请求解除静音",@@ -810,6 +808,7 @@"mute": "静音","muteAll": "全体静音","muteEveryoneElse": "全体静音",+ "reject": "拒绝","stopEveryonesVideo": "禁用所有人视频","stopVideo": "禁用视频","unblockEveryoneMicCamera": "允许所有人的麦克风和摄像头",diff --git a/lang/main-zhTW.json b/lang/main-zhTW.jsonindex 7d149cfa22..8dc5058523 100644--- a/lang/main-zhTW.json+++ b/lang/main-zhTW.json@@ -641,8 +641,6 @@"youtubeTerms": "YouTube 服務條款"},"lobby": {- "admit": "準許",- "admitAll": "準許所有人","backToKnockModeButton": "請求加入","chat": "聊天","dialogTitle": "大廳模式",@@ -676,8 +674,6 @@"notificationTitle": "大廳","passwordField": "輸入會議密碼","passwordJoinButton": "加入",- "reject": "拒絕",- "rejectAll": "拒絕所有人","title": "大廳","toggleLabel": "啟用大廳模式"},@@ -815,6 +811,8 @@},"participantsPane": {"actions": {+ "admit": "準許",+ "admitAll": "準許所有人","allow": "允許與會者能夠:","allowVideo": "允許視訊","askUnmute": "要求解除靜音",@@ -828,6 +826,7 @@"mute": "靜音","muteAll": "靜音所有人","muteEveryoneElse": "靜音其他人",+ "reject": "拒絕","stopEveryonesVideo": "停用所有人的視訊","stopVideo": "停用視訊","unblockEveryoneMicCamera": "解除封鎖所有人的麥克風及網路攝影機",diff --git a/lang/main.json b/lang/main.jsonindex b03f2e1ad3..617761b5a8 100644--- a/lang/main.json+++ b/lang/main.json@@ -642,8 +642,6 @@"youtubeTerms": "YouTube terms of services"},"lobby": {- "admit": "Admit",- "admitAll": "Admit all","backToKnockModeButton": "Ask to join","chat": "Chat","dialogTitle": "Lobby mode",@@ -677,8 +675,6 @@"notificationLobbyEnabled": "Lobby has been enabled by {{originParticipantName}}","notificationTitle": "Lobby","passwordJoinButton": "Join",- "reject": "Reject",- "rejectAll": "Reject all","title": "Lobby","toggleLabel": "Enable lobby"},@@ -816,6 +812,8 @@},"participantsPane": {"actions": {+ "admit": "Admit",+ "admitAll": "Admit all","allow": "Allow attendees to:","allowVideo": "Allow video","askUnmute": "Ask to unmute",@@ -829,6 +827,7 @@"mute": "Mute","muteAll": "Mute all","muteEveryoneElse": "Mute everyone else",+ "reject": "Reject","stopEveryonesVideo": "Stop everyone's video","stopVideo": "Stop video","unblockEveryoneMicCamera": "Unblock everyone's mic and camera",@@ -838,7 +837,8 @@"headings": {"lobby": "Lobby ({{count}})","participantsList": "Meeting participants ({{count}})",- "visitors": "Visitors ({{count}})",+ "visitorRequests": " (requests {{count}})",+ "visitors": "Visitors {{count}}","waitingLobby": "Waiting in lobby ({{count}})"},"search": "Search participants",diff --git a/react/features/lobby/middleware.ts b/react/features/lobby/middleware.tsindex 259fbda964..503d4d6347 100644--- a/react/features/lobby/middleware.ts+++ b/react/features/lobby/middleware.ts@@ -207,7 +207,7 @@ function _handleLobbyNotification(store: IStore) {descriptionKey = 'notify.participantWantsToJoin';notificationTitle = firstParticipant.name;icon = NOTIFICATION_ICON.PARTICIPANT;- customActionNameKey = [ 'lobby.admit', 'lobby.reject' ];+ customActionNameKey = [ 'participantsPane.actions.admit', 'participantsPane.actions.reject' ];customActionType = [ BUTTON_TYPES.PRIMARY, BUTTON_TYPES.DESTRUCTIVE ];customActionHandler = [ () => batch(() => {dispatch(hideNotification(LOBBY_NOTIFICATION_ID));diff --git a/react/features/participants-pane/components/native/ContextMenuLobbyParticipantReject.tsx b/react/features/participants-pane/components/native/ContextMenuLobbyParticipantReject.tsxindex 33d508bdbd..f0ffb7f75d 100644--- a/react/features/participants-pane/components/native/ContextMenuLobbyParticipantReject.tsx+++ b/react/features/participants-pane/components/native/ContextMenuLobbyParticipantReject.tsx@@ -58,7 +58,7 @@ const ContextMenuLobbyParticipantReject = ({ participant: p }: IProps) => {<Iconsize = { 24 }src = { IconCloseLarge } />- <Text style = { styles.contextMenuItemText }>{ t('lobby.reject') }</Text>+ <Text style = { styles.contextMenuItemText }>{ t('participantsPane.actions.reject') }</Text></TouchableOpacity></BottomSheet>);diff --git a/react/features/participants-pane/components/native/LobbyParticipantItem.tsx b/react/features/participants-pane/components/native/LobbyParticipantItem.tsxindex ccfb6b8b18..8baa2e7452 100644--- a/react/features/participants-pane/components/native/LobbyParticipantItem.tsx+++ b/react/features/participants-pane/components/native/LobbyParticipantItem.tsx@@ -19,8 +19,8 @@ interface IProps {export const LobbyParticipantItem = ({ participant: p }: IProps) => {const dispatch = useDispatch();- const admit = useCallback(() => dispatch(setKnockingParticipantApproval(p.id, true)), [ dispatch ]);- const reject = useCallback(() => dispatch(setKnockingParticipantApproval(p.id, false)), [ dispatch ]);+ const admit = useCallback(() => dispatch(setKnockingParticipantApproval(p.id, true)), [ dispatch, p.id ]);+ const reject = useCallback(() => dispatch(setKnockingParticipantApproval(p.id, false)), [ dispatch, p.id ]);return (<ParticipantItem@@ -29,16 +29,16 @@ export const LobbyParticipantItem = ({ participant: p }: IProps) => {key = { p.id }participantID = { p.id } ><Button- accessibilityLabel = 'lobby.reject'- labelKey = 'lobby.reject'+ accessibilityLabel = 'participantsPane.actions.reject'+ labelKey = 'participantsPane.actions.reject'onClick = { reject }- style = { styles.lobbyButtonReject }+ style = { styles.buttonReject }type = { BUTTON_TYPES.DESTRUCTIVE } /><Button- accessibilityLabel = 'lobby.admit'- labelKey = 'lobby.admit'+ accessibilityLabel = 'participantsPane.actions.admit'+ labelKey = 'participantsPane.actions.admit'onClick = { admit }- style = { styles.lobbyButtonAdmit }+ style = { styles.buttonAdmit }type = { BUTTON_TYPES.PRIMARY } /></ParticipantItem>);diff --git a/react/features/participants-pane/components/native/LobbyParticipantList.tsx b/react/features/participants-pane/components/native/LobbyParticipantList.tsxindex 6d2c32a875..51a4ed51c7 100644--- a/react/features/participants-pane/components/native/LobbyParticipantList.tsx+++ b/react/features/participants-pane/components/native/LobbyParticipantList.tsx@@ -28,15 +28,15 @@ const LobbyParticipantList = () => {return (<>- <View style = { styles.lobbyListDetails as ViewStyle } >+ <View style = { styles.listDetails as ViewStyle } ><Text style = { styles.lobbyListDescription as TextStyle }>{ title }</Text>{participants.length > 1 && (<Button- accessibilityLabel = 'lobby.admitAll'- labelKey = 'lobby.admitAll'+ accessibilityLabel = 'participantsPane.actions.admitAll'+ labelKey = 'participantsPane.actions.admitAll'mode = { BUTTON_MODES.TEXT }onClick = { admitAll }type = { BUTTON_TYPES.PRIMARY } />diff --git a/react/features/participants-pane/components/native/MeetingParticipantList.tsx b/react/features/participants-pane/components/native/MeetingParticipantList.tsxindex 96d4a5f38f..c539dae880 100644--- a/react/features/participants-pane/components/native/MeetingParticipantList.tsx+++ b/react/features/participants-pane/components/native/MeetingParticipantList.tsx@@ -69,19 +69,9 @@ const MeetingParticipantList = () => {: t('participantsPane.headings.participantsList',{ count: participantsCount });const { color, shareDialogVisible } = inviteOthersControl;- const visitorsCount = useSelector((state: IReduxState) => state['features/visitors'].count || 0);- const visitorsLabelText = visitorsCount > 0- ? t('participantsPane.headings.visitors', { count: visitorsCount })- : undefined;return (<View style = { styles.meetingListContainer }>- {- visitorsCount > 0- && <Text style = { styles.visitorsLabel }>- { visitorsLabelText }- </Text>- }<Textstyle = { styles.meetingListDescription as TextStyle }>{ title }diff --git a/react/features/participants-pane/components/native/ParticipantsPane.tsx b/react/features/participants-pane/components/native/ParticipantsPane.tsxindex 4db6ce9473..d2dfea554a 100644--- a/react/features/participants-pane/components/native/ParticipantsPane.tsx+++ b/react/features/participants-pane/components/native/ParticipantsPane.tsx@@ -8,6 +8,7 @@ import { isLocalParticipantModerator } from '../../../base/participants/functionimport LobbyParticipantList from './LobbyParticipantList';import MeetingParticipantList from './MeetingParticipantList';import ParticipantsPaneFooter from './ParticipantsPaneFooter';+import VisitorsList from './VisitorsList';import styles from './styles';@@ -32,6 +33,7 @@ const ParticipantsPane = () => {// eslint-disable-next-line react/jsx-no-bindListHeaderComponent = { () => (<>+ <VisitorsList /><LobbyParticipantList /><MeetingParticipantList /></>diff --git a/react/features/participants-pane/components/native/VisitorsItem.tsx b/react/features/participants-pane/components/native/VisitorsItem.tsxnew file mode 100644index 0000000000..ad54fc1699--- /dev/null+++ b/react/features/participants-pane/components/native/VisitorsItem.tsx@@ -0,0 +1,46 @@+import React, { useCallback } from 'react';+import { useDispatch } from 'react-redux';++import Button from '../../../base/ui/components/native/Button';+import { BUTTON_TYPES } from '../../../base/ui/constants.native';+import { approveRequest, denyRequest } from '../../../visitors/actions';+import { IPromotionRequest } from '../../../visitors/types';++import ParticipantItem from './ParticipantItem';+import styles from './styles';++interface IProps {++ /**+ * Promotion request reference.+ */+ request: IPromotionRequest;+}++export const VisitorsItem = ({ request: r }: IProps) => {+ const dispatch = useDispatch();+ const admit = useCallback(() => dispatch(approveRequest(r)), [ dispatch, r ]);+ const reject = useCallback(() => dispatch(denyRequest(r)), [ dispatch, r ]);+ const { from, nick } = r;++ return (+ <ParticipantItem+ displayName = { nick ?? '' }+ isKnockingParticipant = { true }+ key = { from }+ participantID = { from } >+ <Button+ accessibilityLabel = 'participantsPane.actions.reject'+ labelKey = 'participantsPane.actions.reject'+ onClick = { reject }+ style = { styles.buttonReject }+ type = { BUTTON_TYPES.DESTRUCTIVE } />+ <Button+ accessibilityLabel = 'participantsPane.actions.admit'+ labelKey = 'participantsPane.actions.admit'+ onClick = { admit }+ style = { styles.buttonAdmit }+ type = { BUTTON_TYPES.PRIMARY } />+ </ParticipantItem>+ );+};diff --git a/react/features/participants-pane/components/native/VisitorsList.tsx b/react/features/participants-pane/components/native/VisitorsList.tsxnew file mode 100644index 0000000000..9c9a8c6265--- /dev/null+++ b/react/features/participants-pane/components/native/VisitorsList.tsx@@ -0,0 +1,65 @@+import React, { useCallback } from 'react';+import { useTranslation } from 'react-i18next';+import { Text, View, ViewStyle } from 'react-native';+import { useDispatch, useSelector } from 'react-redux';++import { IReduxState } from '../../../app/types';+import Button from '../../../base/ui/components/native/Button';+import { BUTTON_MODES, BUTTON_TYPES } from '../../../base/ui/constants.native';+import { admitMultiple } from '../../../visitors/actions';+import { getPromotionRequests } from '../../../visitors/functions';++import { VisitorsItem } from './VisitorsItem';+import styles from './styles';++const VisitorsList = () => {+ const visitorsCount = useSelector((state: IReduxState) => state['features/visitors'].count || 0);++ const dispatch = useDispatch();++ const requests = useSelector(getPromotionRequests);++ const admitAll = useCallback(() => {+ dispatch(admitMultiple(requests));+ }, [ dispatch, requests ]);+ const { t } = useTranslation();++ if (visitorsCount <= 0) {+ return null;+ }++ let title = t('participantsPane.headings.visitors', { count: visitorsCount });++ if (requests.length > 0) {+ title += t('participantsPane.headings.visitorRequests', { count: requests.length });+ }++ return (+ <>+ <View style = { styles.listDetails as ViewStyle } >+ <Text style = { styles.visitorsLabel }>+ { title }+ </Text>+ {+ requests.length > 1 && (+ <Button+ accessibilityLabel = 'participantsPane.actions.admitAll'+ labelKey = 'participantsPane.actions.admitAll'+ mode = { BUTTON_MODES.TEXT }+ onClick = { admitAll }+ type = { BUTTON_TYPES.PRIMARY } />+ )+ }+ </View>+ {+ requests.map(r => (+ <VisitorsItem+ key = { r.from }+ request = { r } />)+ )+ }+ </>+ );+};++export default VisitorsList;diff --git a/react/features/participants-pane/components/native/styles.ts b/react/features/participants-pane/components/native/styles.tsindex ce364c6acb..0072e00c3f 100644--- a/react/features/participants-pane/components/native/styles.ts+++ b/react/features/participants-pane/components/native/styles.ts@@ -164,12 +164,12 @@ export default {color: BaseTheme.palette.uiBackground},- lobbyButtonAdmit: {+ buttonAdmit: {position: 'absolute',right: 16},- lobbyButtonReject: {+ buttonReject: {position: 'absolute',right: 112},@@ -178,7 +178,7 @@ export default {...participantListDescription},- lobbyListDetails: {+ listDetails: {alignItems: 'center',display: 'flex',flexDirection: 'row',diff --git a/react/features/participants-pane/components/web/LobbyParticipantItem.tsx b/react/features/participants-pane/components/web/LobbyParticipantItem.tsxindex 4d8c848532..5bb8a38af9 100644--- a/react/features/participants-pane/components/web/LobbyParticipantItem.tsx+++ b/react/features/participants-pane/components/web/LobbyParticipantItem.tsx@@ -72,9 +72,9 @@ export const LobbyParticipantItem = ({const renderAdmitButton = () => (<Button- accessibilityLabel = { `${t('lobby.admit')} ${p.name}` }+ accessibilityLabel = { `${t('participantsPane.actions.admit')} ${p.name}` }className = { styles.button }- labelKey = { 'lobby.admit' }+ labelKey = { 'participantsPane.actions.admit' }onClick = { admit }size = 'small'testId = { `admit-${id}` } />);@@ -116,18 +116,18 @@ export const LobbyParticipantItem = ({} ] } /><ContextMenuItemGroupactions = { [ {- accessibilityLabel: `${t('lobby.reject')} ${p.name}`,+ accessibilityLabel: `${t('participantsPane.actions.reject')} ${p.name}`,onClick: reject,testId: `reject-${id}`,icon: IconUserDeleted,- text: t('lobby.reject')+ text: t('participantsPane.actions.reject')} ] } /></ContextMenu></> : <><Button- accessibilityLabel = { `${t('lobby.reject')} ${p.name}` }+ accessibilityLabel = { `${t('participantsPane.actions.reject')} ${p.name}` }className = { styles.button }- labelKey = { 'lobby.reject' }+ labelKey = { 'participantsPane.actions.reject' }onClick = { reject }size = 'small'testId = { `reject-${id}` }diff --git a/react/features/participants-pane/components/web/LobbyParticipants.tsx b/react/features/participants-pane/components/web/LobbyParticipants.tsxindex ceb12ea678..2681ac4a68 100644--- a/react/features/participants-pane/components/web/LobbyParticipants.tsx+++ b/react/features/participants-pane/components/web/LobbyParticipants.tsx@@ -91,7 +91,7 @@ export default function LobbyParticipants() {participants.length > 1&& <divclassName = { classes.link }- onClick = { admitAll }>{t('lobby.admitAll')}</div>+ onClick = { admitAll }>{t('participantsPane.actions.admitAll')}</div>}</div><LobbyParticipantItems@@ -117,7 +117,7 @@ export default function LobbyParticipants() {className = { classes.icon }size = { 20 }src = { IconCheck } />- <span>{ t('lobby.admit') }</span>+ <span>{ t('participantsPane.actions.admit') }</span></li><liclassName = { classes.drawerItem }@@ -126,7 +126,7 @@ export default function LobbyParticipants() {className = { classes.icon }size = { 20 }src = { IconCloseLarge } />- <span>{ t('lobby.reject')}</span>+ <span>{ t('participantsPane.actions.reject')}</span></li></ul></Drawer>diff --git a/react/features/participants-pane/components/web/MeetingParticipants.tsx b/react/features/participants-pane/components/web/MeetingParticipants.tsxindex d1468e467c..5423354131 100644--- a/react/features/participants-pane/components/web/MeetingParticipants.tsx+++ b/react/features/participants-pane/components/web/MeetingParticipants.tsx@@ -105,10 +105,9 @@ function MeetingParticipants({const participantActionEllipsisLabel = t('participantsPane.actions.moreParticipantOptions');const youText = t('chat.you');const isBreakoutRoom = useSelector(isInBreakoutRoom);- const visitorsCount = useSelector((state: IReduxState) => state['features/visitors'].count || 0);const _isCurrentRoomRenamable = useSelector(isCurrentRoomRenamable);- const { classes: styles, cx } = useStyles();+ const { classes: styles } = useStyles();return (<>@@ -118,11 +117,6 @@ function MeetingParticipants({role = 'heading'>{ t('participantsPane.title') }</span>- {visitorsCount > 0 && (- <div className = { cx(styles.heading, styles.headingW) }>- {t('participantsPane.headings.visitors', { count: visitorsCount })}- </div>- )}<div className = { styles.heading }>{currentRoom?.name? `${currentRoom.name} (${participantsCount})`diff --git a/react/features/participants-pane/components/web/ParticipantsPane.tsx b/react/features/participants-pane/components/web/ParticipantsPane.tsxindex 722a2beb37..2748d8885d 100644--- a/react/features/participants-pane/components/web/ParticipantsPane.tsx+++ b/react/features/participants-pane/components/web/ParticipantsPane.tsx@@ -26,7 +26,7 @@ import { RoomList } from '../breakout-rooms/components/web/RoomList';import { FooterContextMenu } from './FooterContextMenu';import LobbyParticipants from './LobbyParticipants';import MeetingParticipants from './MeetingParticipants';-+import VisitorsList from './VisitorsList';const useStyles = makeStyles()(theme => {return {@@ -171,6 +171,8 @@ const ParticipantsPane = () => {onClick = { onClosePane } /></div><div className = { classes.container }>+ <VisitorsList />+ <br className = { classes.antiCollapse } /><LobbyParticipants /><br className = { classes.antiCollapse } /><MeetingParticipantsdiff --git a/react/features/participants-pane/components/web/VisitorsItem.tsx b/react/features/participants-pane/components/web/VisitorsItem.tsxnew file mode 100644index 0000000000..55884d1bab--- /dev/null+++ b/react/features/participants-pane/components/web/VisitorsItem.tsx@@ -0,0 +1,80 @@+import React, { useCallback } from 'react';+import { useTranslation } from 'react-i18next';+import { useDispatch } from 'react-redux';+import { makeStyles } from 'tss-react/mui';++import Button from '../../../base/ui/components/web/Button';+import { BUTTON_TYPES } from '../../../base/ui/constants.web';+import { approveRequest, denyRequest } from '../../../visitors/actions';+import { IPromotionRequest } from '../../../visitors/types';+import { ACTION_TRIGGER, MEDIA_STATE } from '../../constants';++import ParticipantItem from './ParticipantItem';++interface IProps {++ /**+ * Promotion request reference.+ */+ request: IPromotionRequest;+}++const useStyles = makeStyles()(theme => {+ return {+ button: {+ marginRight: theme.spacing(2)+ },+ moreButton: {+ paddingRight: '6px',+ paddingLeft: '6px',+ marginRight: theme.spacing(2)+ },+ contextMenu: {+ position: 'fixed',+ top: 'auto',+ marginRight: '8px'+ }+ };+});++export const VisitorsItem = ({+ request: r+}: IProps) => {+ const { from, nick } = r;+ const { t } = useTranslation();+ const { classes: styles } = useStyles();+ const dispatch = useDispatch();+ const admit = useCallback(() => dispatch(approveRequest(r)), [ dispatch, r ]);+ const reject = useCallback(() => dispatch(denyRequest(r)), [ dispatch, r ]);++ return (+ <ParticipantItem+ actionsTrigger = { ACTION_TRIGGER.PERMANENT }+ audioMediaState = { MEDIA_STATE.NONE }+ displayName = { nick }+ participantID = { from }+ raisedHand = { true }+ videoMediaState = { MEDIA_STATE.NONE }+ youText = { t('chat.you') }>++ {<>+ <Button+ accessibilityLabel = { `${t('participantsPane.actions.reject')} ${r.nick}` }+ className = { styles.button }+ labelKey = 'participantsPane.actions.reject'+ onClick = { reject }+ size = 'small'+ testId = { `reject-${from}` }+ type = { BUTTON_TYPES.DESTRUCTIVE } />+ <Button+ accessibilityLabel = { `${t('participantsPane.actions.admit')} ${r.nick}` }+ className = { styles.button }+ labelKey = 'participantsPane.actions.admit'+ onClick = { admit }+ size = 'small'+ testId = { `admit-${from}` } />+ </>+ }+ </ParticipantItem>+ );+};diff --git a/react/features/participants-pane/components/web/VisitorsList.tsx b/react/features/participants-pane/components/web/VisitorsList.tsxnew file mode 100644index 0000000000..16a3857d86--- /dev/null+++ b/react/features/participants-pane/components/web/VisitorsList.tsx@@ -0,0 +1,111 @@+import React, { useCallback } from 'react';+import { useTranslation } from 'react-i18next';+import { useDispatch, useSelector } from 'react-redux';+import { makeStyles } from 'tss-react/mui';++import { IReduxState } from '../../../app/types';+import { withPixelLineHeight } from '../../../base/styles/functions.web';+import { admitMultiple } from '../../../visitors/actions';+import { getPromotionRequests } from '../../../visitors/functions';++import { VisitorsItem } from './VisitorsItem';++const useStyles = makeStyles()(theme => {+ return {+ container: {+ margin: `${theme.spacing(3)} 0`+ },+ headingW: {+ color: theme.palette.warning02+ },+ drawerActions: {+ listStyleType: 'none',+ margin: 0,+ padding: 0+ },+ drawerItem: {+ alignItems: 'center',+ color: theme.palette.text01,+ display: 'flex',+ padding: '12px 16px',+ ...withPixelLineHeight(theme.typography.bodyShortRegularLarge),++ '&:first-child': {+ marginTop: '15px'+ },++ '&:hover': {+ cursor: 'pointer',+ background: theme.palette.action02+ }+ },+ icon: {+ marginRight: 16+ },+ headingContainer: {+ alignItems: 'center',+ display: 'flex',+ justifyContent: 'space-between'+ },+ heading: {+ ...withPixelLineHeight(theme.typography.bodyShortBold),+ color: theme.palette.text02+ },+ link: {+ ...withPixelLineHeight(theme.typography.labelBold),+ color: theme.palette.link01,+ cursor: 'pointer'+ }+ };+});++/**+ * Component used to display a list of visitors waiting for approval to join the main meeting.+ *+ * @returns {ReactNode}+ */+export default function VisitorsList() {+ const requests = useSelector(getPromotionRequests);+ const visitorsCount = useSelector((state: IReduxState) => state['features/visitors'].count || 0);++ const { t } = useTranslation();+ const { classes, cx } = useStyles();+ const dispatch = useDispatch();++ const admitAll = useCallback(() => {+ dispatch(admitMultiple(requests));+ }, [ dispatch, requests ]);++ if (visitorsCount <= 0) {+ return null;+ }++ return (+ <>+ <div className = { classes.headingContainer }>+ <div className = { cx(classes.heading, classes.headingW) }>+ { t('participantsPane.headings.visitors', { count: visitorsCount })}+ { requests.length > 0+ && t('participantsPane.headings.visitorRequests', { count: requests.length }) }+ </div>+ {+ requests.length > 1+ && <div+ className = { classes.link }+ onClick = { admitAll }>{t('participantsPane.actions.admitAll')}</div>+ }+ </div>+ <div+ className = { classes.container }+ id = 'visitor-list'>+ {+ requests.map(r => (+ <VisitorsItem+ key = { r.from }+ request = { r } />)+ )+ }+ </div>+ </>+ );+}diff --git a/react/features/participants-pane/hooks.web.ts b/react/features/participants-pane/hooks.web.tsindex 0b3f47a4b8..6aedd2660b 100644--- a/react/features/participants-pane/hooks.web.ts+++ b/react/features/participants-pane/hooks.web.ts@@ -24,16 +24,16 @@ export function useLobbyActions(participant?: IDrawerParticipant | null, closeDre.stopPropagation();dispatch(approveKnockingParticipant(participant?.participantID ?? ''));closeDrawer?.();- }, [ dispatch, closeDrawer ]),+ }, [ dispatch, closeDrawer, participant?.participantID ]),useCallback(() => {dispatch(rejectKnockingParticipant(participant?.participantID ?? ''));closeDrawer?.();- }, [ dispatch, closeDrawer ]),+ }, [ dispatch, closeDrawer, participant?.participantID ]),useCallback(() => {dispatch(handleLobbyChatInitialized(participant?.participantID ?? ''));- }, [ dispatch ])+ }, [ dispatch, participant?.participantID ])];}diff --git a/react/features/polls/middleware.ts b/react/features/polls/middleware.tsindex bcce701f83..8205627057 100644--- a/react/features/polls/middleware.ts+++ b/react/features/polls/middleware.ts@@ -63,13 +63,23 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {conference.on(JitsiConferenceEvents.ENDPOINT_MESSAGE_RECEIVED,(user: any, data: any) => {- data.type === COMMAND_NEW_POLL ? data.senderId = user._id : data.voterId = user._id;- _handleReceivePollsMessage(data, dispatch);+ const isNewPoll = data.type === COMMAND_NEW_POLL;++ _handleReceivePollsMessage({+ ...data,+ senderId: isNewPoll ? user._id : undefined,+ voterId: isNewPoll ? undefined : user._id+ }, dispatch);});conference.on(JitsiConferenceEvents.NON_PARTICIPANT_MESSAGE_RECEIVED,(id: any, data: any) => {- data.type === COMMAND_NEW_POLL ? data.senderId = id : data.voterId = id;- _handleReceivePollsMessage(data, dispatch);+ const isNewPoll = data.type === COMMAND_NEW_POLL;++ _handleReceivePollsMessage({+ ...data,+ senderId: isNewPoll ? id : undefined,+ voterId: isNewPoll ? undefined : id+ }, dispatch);});break;diff --git a/react/features/visitors/actionTypes.ts b/react/features/visitors/actionTypes.tsindex c434d9d8d0..999e520a37 100644--- a/react/features/visitors/actionTypes.ts+++ b/react/features/visitors/actionTypes.ts@@ -17,3 +17,24 @@ export const UPDATE_VISITORS_COUNT = 'UPDATE_VISITORS_COUNT';* }*/export const I_AM_VISITOR_MODE = 'I_AM_VISITOR_MODE';++/**+ * The type of (redux) action which indicates that a promotion request was received from a visitor.+ *+ * {+ * type: VISITOR_PROMOTION_REQUEST,+ * nick: string,+ * from: string+ * }+ */+export const VISITOR_PROMOTION_REQUEST = 'VISITOR_PROMOTION_REQUEST';++/**+ * The type of (redux) action which indicates that a promotion response denied was received.+ *+ * {+ * type: CLEAR_VISITOR_PROMOTION_REQUEST,+ * request: IPromotionRequest+ * }+ */+export const CLEAR_VISITOR_PROMOTION_REQUEST = 'CLEAR_VISITOR_PROMOTION_REQUEST';diff --git a/react/features/visitors/actions.ts b/react/features/visitors/actions.tsindex 3ad9d28c1a..13f58fe512 100644--- a/react/features/visitors/actions.ts+++ b/react/features/visitors/actions.ts@@ -1,4 +1,107 @@-import { I_AM_VISITOR_MODE, UPDATE_VISITORS_COUNT } from './actionTypes';+import { IStore } from '../app/types';+import { getCurrentConference } from '../base/conference/functions';++import {+ CLEAR_VISITOR_PROMOTION_REQUEST,+ I_AM_VISITOR_MODE,+ UPDATE_VISITORS_COUNT,+ VISITOR_PROMOTION_REQUEST+} from './actionTypes';+import { IPromotionRequest } from './types';++/**+ * Action used to admit multiple participants in the conference.+ *+ * @param {Array<Object>} requests - A list of visitors requests.+ * @returns {Function}+ */+export function admitMultiple(requests: Array<IPromotionRequest>): Function {+ return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {+ const conference = getCurrentConference(getState);++ requests.forEach(r => {+ conference?.sendMessage({+ type: 'visitors',+ action: 'promotion-response',+ approved: true,+ id: r.from+ });+ });+ };+}++/**+ * Approves the request of a visitor to join the main meeting.+ *+ * @param {IPromotionRequest} request - The request from the visitor.+ * @returns {Function}+ */+export function approveRequest(request: IPromotionRequest): Function {+ return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {+ const conference = getCurrentConference(getState);++ conference?.sendMessage({+ type: 'visitors',+ action: 'promotion-response',+ approved: true,+ id: request.from+ });++ dispatch(clearPromotionRequest(request));+ };+}++/**+ * Denies the request of a visitor to join the main meeting.+ *+ * @param {IPromotionRequest} request - The request from the visitor.+ * @returns {Function}+ */+export function denyRequest(request: IPromotionRequest): Function {+ return (dispatch: IStore['dispatch'], getState: IStore['getState']) => {+ const conference = getCurrentConference(getState);++ conference?.sendMessage({+ type: 'visitors',+ action: 'promotion-response',+ approved: false,+ id: request.from+ });++ dispatch(clearPromotionRequest(request));+ };+}++/**+ * Removes a promotion request from the state.+ *+ * @param {IPromotionRequest} request - The request.+ * @returns {{+ * type: CLEAR_VISITOR_PROMOTION_REQUEST,+ * request: IPromotionRequest+ * }}+ */+export function clearPromotionRequest(request: IPromotionRequest) {+ return {+ type: CLEAR_VISITOR_PROMOTION_REQUEST,+ request+ };+}++/**+ * Visitor has sent us a promotion request.+ *+ * @param {IPromotionRequest} request - The request.+ * @returns {{+ * type: VISITOR_PROMOTION_REQUEST,+ * }}+ */+export function promotionRequestReceived(request: IPromotionRequest) {+ return {+ type: VISITOR_PROMOTION_REQUEST,+ request+ };+}/*** Sets Visitors mode on or off.diff --git a/react/features/visitors/functions.ts b/react/features/visitors/functions.tsindex 9f1844c276..51a0429b4a 100644--- a/react/features/visitors/functions.ts+++ b/react/features/visitors/functions.ts@@ -1,3 +1,4 @@+import { IReduxState } from '../app/types';import { IStateful } from '../base/app/types';import { toState } from '../base/redux/functions';@@ -13,6 +14,16 @@ export function getVisitorsShortText(visitorsCount: number) {return visitorsCount > 100 ? `${Math.round(visitorsCount / 100) / 10} K` : String(visitorsCount);}+/**+ * Selector to return a list of promotion requests from visitors.+ *+ * @param {IReduxState} state - State object.+ * @returns {Array<Object>}+ */+export function getPromotionRequests(state: IReduxState) {+ return state['features/visitors'].promotionRequests;+}+/*** Whether current UI is in visitor mode.*diff --git a/react/features/visitors/middleware.ts b/react/features/visitors/middleware.tsindex 9f2c9fbf70..ff5fd81d67 100644--- a/react/features/visitors/middleware.ts+++ b/react/features/visitors/middleware.ts@@ -1,10 +1,12 @@import { CONFERENCE_JOINED, CONFERENCE_JOIN_IN_PROGRESS } from '../base/conference/actionTypes';import { JitsiConferenceEvents } from '../base/lib-jitsi-meet';+import { raiseHand } from '../base/participants/actions';import MiddlewareRegistry from '../base/redux/MiddlewareRegistry';import { showNotification } from '../notifications/actions';import { NOTIFICATION_TIMEOUT_TYPE } from '../notifications/constants';-import { updateVisitorsCount } from './actions';+import { clearPromotionRequest, promotionRequestReceived, updateVisitorsCount } from './actions';+import { getPromotionRequests } from './functions';MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {switch (action.type) {@@ -21,12 +23,43 @@ MiddlewareRegistry.register(({ dispatch, getState }) => next => action => {break;}case CONFERENCE_JOINED: {+ const { conference } = action;+if (getState()['features/visitors'].iAmVisitor) {dispatch(showNotification({titleKey: 'visitors.notification.title',descriptionKey: 'visitors.notification.description'}, NOTIFICATION_TIMEOUT_TYPE.STICKY));}++ conference.on(JitsiConferenceEvents.VISITORS_MESSAGE, (+ msg: { from: string; nick: string; on: boolean; }) => {+ const request = {+ from: msg.from,+ nick: msg.nick+ };++ if (msg.on) {+ dispatch(promotionRequestReceived(request));+ } else {+ dispatch(clearPromotionRequest(request));+ }+ });++ conference.on(JitsiConferenceEvents.VISITORS_REJECTION, () => {+ dispatch(raiseHand(false));+ });++ conference.on(JitsiConferenceEvents.ENDPOINT_MESSAGE_RECEIVED,+ (user: any, data: any) => {+ if (data?.action === 'promotion-response' && data.approved) {+ const request = getPromotionRequests(getState())+ .find(r => r.from === data.id);++ request && dispatch(clearPromotionRequest(request));+ }+ });+break;}}diff --git a/react/features/visitors/reducer.ts b/react/features/visitors/reducer.tsindex 7a353d70e7..c9c209bc04 100644--- a/react/features/visitors/reducer.ts+++ b/react/features/visitors/reducer.ts@@ -1,17 +1,25 @@import { CONFERENCE_WILL_LEAVE } from '../base/conference/actionTypes';import ReducerRegistry from '../base/redux/ReducerRegistry';-import { I_AM_VISITOR_MODE, UPDATE_VISITORS_COUNT } from './actionTypes';+import {+ CLEAR_VISITOR_PROMOTION_REQUEST,+ I_AM_VISITOR_MODE,+ UPDATE_VISITORS_COUNT,+ VISITOR_PROMOTION_REQUEST+} from './actionTypes';+import { IPromotionRequest } from './types';const DEFAULT_STATE = {count: -1,iAmVisitor: false,- showNotification: false+ showNotification: false,+ promotionRequests: []};export interface IVisitorsState {count?: number;iAmVisitor: boolean;+ promotionRequests: IPromotionRequest[];}ReducerRegistry.register<IVisitorsState>('features/visitors', (state = DEFAULT_STATE, action): IVisitorsState => {switch (action.type) {@@ -42,6 +50,26 @@ ReducerRegistry.register<IVisitorsState>('features/visitors', (state = DEFAULT_SiAmVisitor: action.enabled};}+ case VISITOR_PROMOTION_REQUEST: {+ const currentRequests = state.promotionRequests || [];++ currentRequests.push(action.request);++ return {+ ...state,+ promotionRequests: [ ...currentRequests ]+ };+ }+ case CLEAR_VISITOR_PROMOTION_REQUEST: {+ let currentRequests = state.promotionRequests || [];++ currentRequests = currentRequests.filter(r => r.from !== action.request.from);++ return {+ ...state,+ promotionRequests: currentRequests+ };+ }}return state;diff --git a/react/features/visitors/types.ts b/react/features/visitors/types.tsnew file mode 100644index 0000000000..1a858e7a23--- /dev/null+++ b/react/features/visitors/types.ts@@ -0,0 +1,4 @@+export interface IPromotionRequest {+ from: string;+ nick: string;+}diff --git a/resources/prosody-plugins/mod_fmuc.lua b/resources/prosody-plugins/mod_fmuc.luaindex 1aceb58480..1976c4cbe5 100644--- a/resources/prosody-plugins/mod_fmuc.lua+++ b/resources/prosody-plugins/mod_fmuc.lua@@ -16,6 +16,7 @@ local new_id = require 'util.id'.medium;local filters = require 'util.filters';local util = module:require 'util';+local is_vpaas = util.is_vpaas;local room_jid_match_rewrite = util.room_jid_match_rewrite;local get_room_from_jid = util.get_room_from_jid;local get_focus_occupant = util.get_focus_occupant;@@ -48,6 +49,8 @@ local measure_visitors = module:measure('vnode-visitors', 'amount');local sent_iq_cache = require 'util.cache'.new(200);+local sessions = prosody.full_sessions;+local um_is_admin = require 'core.usermanager'.is_admin;local function is_admin(jid)return um_is_admin(jid, module.host);@@ -185,6 +188,25 @@ module:hook('muc-broadcast-presence', function (event)local raiseHand = full_p:get_child_text('jitsi_participant_raisedHand');-- a promotion detected let's send it to main prosodyif raiseHand then+ local user_id;+ local is_moderator;+ local session = sessions[occupant.jid];+ local identity = session and session.jitsi_meet_context_user;++ if is_vpaas(room.jid) and identity then+ -- in case of moderator in vpass meeting we want to do auto-promotion+ local is_vpaas_moderator = identity.moderator;+ if is_vpaas_moderator == 'true' or is_vpaas_moderator == true then+ is_moderator = true;+ end+ else+ -- The case with single moderator in the room, we want to report our id+ -- so we can be auto promoted+ if identity and identity.id then+ user_id = session.jitsi_meet_context_user.id;+ end+ end+local iq_id = new_id();sent_iq_cache:set(iq_id, socket.gettime());local promotion_request = st.iq({@@ -194,7 +216,13 @@ module:hook('muc-broadcast-presence', function (event)id = iq_id }):tag('visitors', { xmlns = 'jitsi:visitors',room = jid.join(jid.node(room.jid), muc_domain_prefix..'.'..main_domain) })- :tag('promotion-request', { xmlns = 'jitsi:visitors', jid = occupant.jid }):up();+ :tag('promotion-request', {+ xmlns = 'jitsi:visitors',+ jid = occupant.jid,+ time = raiseHand,+ userId = user_id,+ forcePromote = is_moderator and 'true' or 'false';+ }):up();local nick_element = occupant:get_presence():get_child('nick', NICK_NS);if nick_element then@@ -440,6 +468,8 @@ local function iq_from_main_handler(event)}));if process_disconnect then+ cancel_destroy_timer(room);+local main_count, visitors_count = get_occupant_counts(room);module:log('info', 'Will destroy:%s main_occupants:%s visitors:%s', room.jid, main_count, visitors_count);room:destroy(nil, 'Conference ended.');diff --git a/resources/prosody-plugins/mod_visitors_component.lua b/resources/prosody-plugins/mod_visitors_component.luaindex 8872b1b34d..3cb30d8de8 100644--- a/resources/prosody-plugins/mod_visitors_component.lua+++ b/resources/prosody-plugins/mod_visitors_component.lua@@ -3,12 +3,16 @@ module:log('info', 'Starting visitors_component at %s', module.host);local jid = require 'util.jid';local st = require 'util.stanza';local util = module:require 'util';+local is_healthcheck_room = util.is_healthcheck_room;local room_jid_match_rewrite = util.room_jid_match_rewrite;local get_room_from_jid = util.get_room_from_jid;local get_focus_occupant = util.get_focus_occupant;local get_room_by_name_and_subdomain = util.get_room_by_name_and_subdomain;+local internal_room_jid_match_rewrite = util.internal_room_jid_match_rewrite;+local is_vpaas = util.is_vpaas;local new_id = require 'util.id'.medium;local um_is_admin = require 'core.usermanager'.is_admin;+local json = require 'util.json';local MUC_NS = 'http://jabber.org/protocol/muc';@@ -32,7 +36,13 @@ end-- automatically allowed or allowed by a moderatorlocal visitors_promotion_map = {};-local sent_iq_cache = require 'util.cache'.new(200);+-- A map with key room jid. The content is a map with key jid from which the request is received+-- and the value is a table that has the json message that needs to be sent to any future moderator that joins+-- and the vnode from which the request is received and where the response will be sent+local visitors_promotion_requests = {};++local cache = require 'util.cache';+local sent_iq_cache = cache.new(200);-- send iq result that the iq was received and will be processedlocal function respond_iq_result(origin, stanza)@@ -45,15 +55,23 @@ local function respond_iq_result(origin, stanza)}));end-local function request_promotion_received(room, from_jid, from_vnode)- if not visitors_promotion_map[room.jid] and auto_allow_promotion then- -- visitors is enabled- visitors_promotion_map[room.jid] = {};- end+-- Sends a json-message to the destination jid+-- @param to_jid the destination jid+-- @param json_message the message content to send+function send_json_message(to_jid, json_message)+ local stanza = st.message({ from = module.host; to = to_jid; })+ :tag('json-message', { xmlns = 'http://jitsi.org/jitmeet' }):text(json_message):up();+ module:send(stanza);+end+local function request_promotion_received(room, from_jid, from_vnode, nick, time, user_id, force_promote)-- if visitors is enabled for the roomif visitors_promotion_map[room.jid] then- if auto_allow_promotion then+ -- only for raise hand, ignore lowering the hand+ if time and time > 0 and (+ auto_allow_promotion+ or (user_id and user_id == room._data.moderator_id)+ or force_promote == 'true') then-- we are in auto-allow mode, let's reply with accept-- we store where the request is coming from so we can send back the responselocal username = new_id():lower();@@ -82,20 +100,72 @@ local function request_promotion_received(room, from_jid, from_vnode)username = username ,allow = 'true' }):up());return true;- end+ else+ -- send promotion request to all moderators+ local body_json = {};+ body_json.type = 'visitors';+ body_json.room = internal_room_jid_match_rewrite(room.jid);+ body_json.action = 'promotion-request';+ body_json.nick = nick;+ body_json.from = from_jid;++ if time and time > 0 then+ -- raise hand+ body_json.on = true;+ else+ -- lower hand, we want to inform interested parties that+ -- the visitor is no longer interested in joining the main call+ body_json.on = false;+ end- -- TODO send promotion request to all moderators- module:log('warn', 'Received promotion request from %s for room %s without active visitors', from, room.jid);- return;+ local msg_to_send = json.encode(body_json);+ if visitors_promotion_requests[room.jid] then+ visitors_promotion_requests[room.jid][from_jid] = {+ msg = msg_to_send;+ from = from_vnode;+ };+ else+ module:log('warn', 'Received promotion request for room %s with visitors not enabled. %s',+ room.jid, msg_to_send);+ end++ -- let's send a notification to every moderator+ for _, occupant in room:each_occupant() do+ if occupant.role == 'moderator' then+ send_json_message(occupant.jid, msg_to_send);+ end+ end++ return true;+ endend++ module:log('warn', 'Received promotion request from %s for room %s without active visitors', from, room.jid);endlocal function connect_vnode_received(room, vnode)module:context(muc_domain_base):fire_event('jitsi-connect-vnode', { room = room; vnode = vnode; });++ if not visitors_promotion_map[room.jid] then+ -- visitors is enabled+ visitors_promotion_map[room.jid] = {};+ visitors_promotion_requests[room.jid] = {};+ room._connected_vnodes = cache.new(16); -- we up to 16 vnodes for this prosody+ end++ room._connected_vnodes:set(vnode..'.meet.jitsi', 'connected');endlocal function disconnect_vnode_received(room, vnode)module:context(muc_domain_base):fire_event('jitsi-disconnect-vnode', { room = room; vnode = vnode; });++ room._connected_vnodes:set(vnode..'.meet.jitsi', nil);++ if room._connected_vnodes:count() == 0 then+ visitors_promotion_map[room.jid] = nil;+ visitors_promotion_requests[room.jid] = nil;+ room._connected_vnodes = nil;+ endend-- listens for iq request for promotion and forward it to moderators in the meeting for approval@@ -140,7 +210,28 @@ local function stanza_handler(event)-- promotion request is coming from visitors and is a set and is over the s2s connectionlocal request_promotion = visitors_iq:get_child('promotion-request');if request_promotion then- processed = request_promotion_received(room, request_promotion.attr.jid, stanza.attr.from);+ if not (room._connected_vnodes and room._connected_vnodes:get(stanza.attr.from)) then+ module:log('warn', 'Received forged promotion-request: %s %s %s', stanza, inspect(room._connected_vnodes), room._connected_vnodes:get(stanza.attr.from));+ return true; -- stop processing+ end++ local force_promote = request_promotion.attr.forcePromote;+ if force_promote == 'true' and not is_vpaas(room.jid) then+ module:log('warn', 'Received promotion request for non vpass room (%s) with forced promotion: ',+ room.jid, stanza);+ return true; -- stop processing+ end++ local display_name = visitors_iq:get_child_text('nick', 'http://jabber.org/protocol/nick');+ processed = request_promotion_received(+ room,+ request_promotion.attr.jid,+ stanza.attr.from,+ display_name,+ tonumber(request_promotion.attr.time),+ request_promotion.attr.userId,+ force_promote+ );end-- connect and disconnect are only received from jicofo@@ -218,24 +309,125 @@ process_host_module(muc_domain_prefix..'.'..muc_domain_base, function(host_modulend, 7); -- after muc_meeting_id, the logic for not joining before jicofohost_module:hook('muc-room-destroyed', function (event)visitors_promotion_map[event.room.jid] = nil;+ visitors_promotion_requests[event.room.jid] = nil;end);-end);--- enable only in case of auto-allow is enabled-if auto_allow_promotion then- prosody.events.add_handler('pre-jitsi-authentication', function(session)- if not session.customusername or not session.jitsi_web_query_room then- return nil;+ host_module:hook('muc-occupant-joined', function (event)+ local room, occupant = event.room, event.occupant;++ if is_healthcheck_room(room.jid) or is_admin(occupant.bare_jid) or occupant.role ~= 'moderator' then -- luacheck: ignore+ return;+ end++ for _,value in pairs(visitors_promotion_requests[event.room.jid]) do+ send_json_message(occupant.jid, value.msg);end+ end);+ host_module:hook('muc-set-affiliation', function (event)+ -- the actor can be nil if is coming from allowners or similar module we want to skip it here+ -- as we will handle it in occupant_joined+ local actor, affiliation, jid, room = event.actor, event.affiliation, event.jid, event.room;- local room = get_room_by_name_and_subdomain(session.jitsi_web_query_room, session.jitsi_web_query_prefix);- if not room then- return nil;+ if is_admin(jid) or is_healthcheck_room(room.jid) or not actor or not affiliation == 'owner' -- luacheck: ignore+ or not visitors_promotion_requests[event.room.jid] then+ return;end- if visitors_promotion_map[room.jid] and visitors_promotion_map[room.jid][session.customusername] then- -- user was previously allowed to join, let him use the requested jid- return session.customusername;+ -- event.jid is the bare jid of participant+ for _, occupant in room:each_occupant() do+ if occupant.bare_jid == event.jid then+ for _,value in pairs(visitors_promotion_requests[event.room.jid]) do+ send_json_message(occupant.jid, value.msg);+ end+ endendend);-end+ host_module:hook("message/bare", function(event)+ local stanza = event.stanza;++ if stanza.attr.type ~= "groupchat" then+ return;+ end+ local json_data = stanza:get_child_text("json-message", "http://jitsi.org/jitmeet");+ if json_data == nil then+ return;+ end+ local data = json.decode(json_data);+ if not data or data.type ~= 'visitors' or data.action ~= "promotion-response" then+ return;+ end++ local room = get_room_from_jid(event.stanza.attr.to);++ local occupant_jid = event.stanza.attr.from;+ local occupant = room:get_occupant_by_real_jid(occupant_jid);+ if not occupant then+ module:log("error", "Occupant %s was not found in room %s", occupant_jid, room.jid)+ return+ end+ if occupant.role ~= 'moderator' then+ module:log('error', 'Occupant %s sending response message but not moderator in room %s',+ occupant_jid, room.jid);+ return false;+ end++ -- let's forward to every moderator, this is so they now that this moderator+ -- took action and they can update UI, as this msg was initially a group chat but we are+ -- sending it now as provide chat, let's change the type+ stanza.attr.type = 'chat'; -- it is safe as we are not using this stanza instance anymore+ for _, room_occupant in room:each_occupant() do+ -- if moderator send the message+ if room_occupant.role == 'moderator'+ and room_occupant.jid ~= occupant.jid+ and not is_admin(room_occupant.bare_jid) then+ stanza.attr.to = room_occupant.nick;+ room:route_stanza(stanza);+ end+ end++ -- lets reply to participant that requested promotion+ local username = new_id():lower();+ visitors_promotion_map[room.jid][username] = {+ from = visitors_promotion_requests[room.jid][data.id].from;+ jid = data.id;+ };++ local req_from = visitors_promotion_map[room.jid][username].from;+ local req_jid = visitors_promotion_map[room.jid][username].jid;+ local focus_occupant = get_focus_occupant(room);+ local focus_jid = focus_occupant and focus_occupant.bare_jid or nil;++ local iq_id = new_id();+ sent_iq_cache:set(iq_id, socket.gettime());++ module:send(st.iq({+ type='set', to = req_from, from = module.host, id = iq_id })+ :tag('visitors', {+ xmlns='jitsi:visitors',+ room = string.gsub(room.jid, muc_domain_base, req_from),+ focusjid = focus_jid })+ :tag('promotion-response', {+ xmlns='jitsi:visitors',+ jid = req_jid,+ username = username ,+ allow = data.approved and 'true' or 'false' }):up());++ return false; -- halt processing+ end);+end);++prosody.events.add_handler('pre-jitsi-authentication', function(session)+ if not session.customusername or not session.jitsi_web_query_room then+ return nil;+ end++ local room = get_room_by_name_and_subdomain(session.jitsi_web_query_room, session.jitsi_web_query_prefix);+ if not room then+ return nil;+ end++ if visitors_promotion_map[room.jid] and visitors_promotion_map[room.jid][session.customusername] then+ -- user was previously allowed to join, let him use the requested jid+ return session.customusername;+ end+end);diff --git a/resources/prosody-plugins/util.lib.lua b/resources/prosody-plugins/util.lib.luaindex bfff82ab2d..ace0acd1a9 100644--- a/resources/prosody-plugins/util.lib.lua+++ b/resources/prosody-plugins/util.lib.lua@@ -416,11 +416,33 @@ function is_moderated(room_jid)return false;end+-- check if the room tenant starts with+-- vpaas-magic-cookie-+function is_vpaas(room_jid)+ local node, host = jid.split(room_jid);+ if host ~= muc_domain or not node then+ module:log('debug', 'Not the same host');+ return false;+ end+ local tenant, conference_name = node:match('^%[([^%]]+)%](.+)$');+ if not (tenant and conference_name) then+ module:log('debug', 'Not a vpaas room %s', room_jid);+ return false;+ end+ local vpaas_prefix, _ = tenant:match('^(vpaas%-magic%-cookie%-)(.*)$')+ if vpaas_prefix ~= 'vpaas-magic-cookie-' then+ module:log('debug', 'Not a vpaas room %s', room_jid);+ return false+ end+ return true+end+return {extract_subdomain = extract_subdomain;is_feature_allowed = is_feature_allowed;is_healthcheck_room = is_healthcheck_room;is_moderated = is_moderated;+ is_vpaas = is_vpaas;get_focus_occupant = get_focus_occupant;get_room_from_jid = get_room_from_jid;get_room_by_name_and_subdomain = get_room_by_name_and_subdomain;