Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(tests): Moderators are able to flip visitors.live to true.

damencho870039b53d01
diff --git a/resources/prosody-plugins/mod_room_metadata_component.lua b/resources/prosody-plugins/mod_room_metadata_component.lua
index ccae22db8d..8025b599b3 100644
--- a/resources/prosody-plugins/mod_room_metadata_component.lua
+++ b/resources/prosody-plugins/mod_room_metadata_component.lua
@@ -113,7 +113,6 @@ local blocked_metadata_keys = module:get_option_set('room_metadata_blocked_keys'
'services',
'transcriberType',
'transcription',
- 'visitors',
'visitorsEnabled',
});
diff --git a/tests/prosody/mod_room_metadata_component_spec.js b/tests/prosody/mod_room_metadata_component_spec.js
index 2e54397ceb..af63d7a802 100644
--- a/tests/prosody/mod_room_metadata_component_spec.js
+++ b/tests/prosody/mod_room_metadata_component_spec.js
@@ -198,7 +198,7 @@ describe('mod_room_metadata_component', () => {
for (const key of [
'allownersEnabled', 'asyncTranscription', 'conferencePresetsServiceEnabled',
'dialinEnabled', 'moderators', 'participants', 'participantsSoftLimit',
- 'services', 'transcriberType', 'transcription', 'visitors', 'visitorsEnabled'
+ 'services', 'transcriberType', 'transcription', 'visitorsEnabled'
]) {
it(`moderator cannot set blocked key "${key}"`, () => assertKeyBlocked(key));
}