From bfd5db355d7547ce0d2f952f1a16890b3b773508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imre=20Farag=C3=B3?= Date: Wed, 1 Jul 2020 14:42:44 +0200 Subject: [PATCH] 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) --- resources/prosody-plugins/mod_muc_size.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/prosody-plugins/mod_muc_size.lua b/resources/prosody-plugins/mod_muc_size.lua index f87f827ee..9aa98af1f 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