Diff

mod_muc_http_defaults/mod_muc_http_defaults.lua @ 5673:0eb2d5ea2428

merge
author Stephen Paul Weber <singpolyma@singpolyma.net>
date Sat, 06 May 2023 19:40:23 -0500
parent 5339:6d99ddd99694
line wrap: on
line diff
--- a/mod_muc_http_defaults/mod_muc_http_defaults.lua	Wed Feb 22 22:47:45 2023 -0500
+++ b/mod_muc_http_defaults/mod_muc_http_defaults.lua	Sat May 06 19:40:23 2023 -0500
@@ -89,7 +89,7 @@
 		if type(config.description) == "string" then room:set_description(config.description); end
 		if type(config.language) == "string" then room:set_language(config.language); end
 		if type(config.password) == "string" then room:set_password(config.password); end
-		if type(config.subject) == "string" then room:set_subject(config.subject); end
+		if type(config.subject) == "string" then room:set_subject(room.jid, config.subject); end
 
 		if type(config.public) == "boolean" then room:set_public(config.public); end
 		if type(config.members_only) == "boolean" then room:set_members_only(config.members_only); end