changeset 5046:904dde7be981

mod_sasl2_bind2: Remove deprecated <jid> element from <bound> This is now communicated via SASL2's <authorization-identity> element.
author Matthew Wild <mwild1@gmail.com>
date Thu, 22 Sep 2022 16:37:59 +0100 (2022-09-22)
parents 6db64f64c8c9
children 023f21bfcc08
files mod_sasl2_bind2/mod_sasl2_bind2.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_sasl2_bind2/mod_sasl2_bind2.lua	Thu Sep 22 12:52:14 2022 +0100
+++ b/mod_sasl2_bind2/mod_sasl2_bind2.lua	Thu Sep 22 16:37:59 2022 +0100
@@ -37,8 +37,7 @@
 	end
 
 	session.log("debug", "Resource bound: %s", session.full_jid);
-	return st.stanza("bound", { xmlns = xmlns_bind2 })
-		:text_tag("jid", session.full_jid)
+	return st.stanza("bound", { xmlns = xmlns_bind2 });
 end
 
 -- Enable inline features requested by the client