-- cgit v1.2.3 From 19ceef8658d09afbe2fa47a34eb0c55cebf3d959 Mon Sep 17 00:00:00 2001 From: Jonas Wielicki Date: Thu, 8 Mar 2018 17:36:36 +0100 Subject: MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) --- plugins/muc/muc.lib.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index e8d565f2..b75714eb 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -231,6 +231,7 @@ function room_mt:get_disco_info(stanza) return st.reply(stanza):query("http://jabber.org/protocol/disco#info") :tag("identity", {category="conference", type="text", name=self:get_name()}):up() :tag("feature", {var="http://jabber.org/protocol/muc"}):up() + :tag("feature", {var="http://jabber.org/protocol/muc#stable_id"}):up() :tag("feature", {var=self:get_password() and "muc_passwordprotected" or "muc_unsecured"}):up() :tag("feature", {var=self:is_moderated() and "muc_moderated" or "muc_unmoderated"}):up() :tag("feature", {var=self:is_members_only() and "muc_membersonly" or "muc_open"}):up() -- cgit v1.2.3 From 1a2ad62a2141614b6e1f446301ca456e74c7c472 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 10 Mar 2018 20:47:34 +0100 Subject: mod_admin_telnet: Include the default path property in URL calculation (fixes #1099) --- plugins/mod_admin_telnet.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua index 86403606..163f67fa 100644 --- a/plugins/mod_admin_telnet.lua +++ b/plugins/mod_admin_telnet.lua @@ -1092,7 +1092,7 @@ function def_env.http:list() local http_host = module:context(host):get_option("http_host"); print("HTTP endpoints on "..host..(http_host and (" (using "..http_host.."):") or ":")); for _, provider in ipairs(http_apps) do - local url = module:context(host):http_url(provider.name); + local url = module:context(host):http_url(provider.name, provider.default_path); print("", url); end print(""); -- cgit v1.2.3