Skip to content

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

prosody muc_size plugin, room get info error fix (Traceback[httpserver]: /usr/lib/prosody/util/async.lua:137: /prosody-plugins/mod_muc_size.lua:141: attempt to concatenate local 'subdomain' (a nil value)

Imre Faragóbfd5db355d75
diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.lua
index f87f827eea..9aa98af1f4 100644
--- a/resources/prosody-plugins/mod_muc_size.lua
+++ b/resources/prosody-plugins/mod_muc_size.lua
@@ -137,7 +137,7 @@ function handle_get_room (event)
local room_address
= jid.join(room_name, muc_domain_prefix.."."..domain_name);
- if subdomain ~= "" then
+ if subdomain and subdomain ~= "" then
room_address = "["..subdomain.."]"..room_address;
end