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: Make room_metadata Prosody module depend on the required jitsi_session module

Erin Yuki Schlarb2851eeeab3ba
diff --git a/resources/prosody-plugins/mod_room_metadata.lua b/resources/prosody-plugins/mod_room_metadata.lua
index c7092d2f8f..a31abc52cb 100644
--- a/resources/prosody-plugins/mod_room_metadata.lua
+++ b/resources/prosody-plugins/mod_room_metadata.lua
@@ -4,5 +4,7 @@
local COMPONENT_IDENTITY_TYPE = 'room_metadata';
local room_metadata_component_host = module:get_option_string('room_metadata_component', 'metadata.'..module.host);
+module:depends("jitsi_session");
+
-- Advertise the component so clients can pick up the address and use it
module:add_identity('component', COMPONENT_IDENTITY_TYPE, room_metadata_component_host);