mod_muc_http_defaults: Use the new set_subject API. Thanks John Livingston
--- a/mod_muc_http_defaults/mod_muc_http_defaults.lua Mon Apr 10 13:24:03 2023 +0200
+++ b/mod_muc_http_defaults/mod_muc_http_defaults.lua Tue Apr 11 15:59:35 2023 +0200
@@ -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