Changeset

3105:ce946d9d982e

mod_inject_ecaps2: Inject the <c/> element in the presence, not util.hashes.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 08 Jun 2018 11:49:29 +0200
parents 3104:626d2c781c66
children 3106:1fe7da46e915
files mod_inject_ecaps2/mod_inject_ecaps2.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_inject_ecaps2/mod_inject_ecaps2.lua	Thu Jun 07 13:27:32 2018 +0200
+++ b/mod_inject_ecaps2/mod_inject_ecaps2.lua	Fri Jun 08 11:49:29 2018 +0200
@@ -89,7 +89,7 @@
 	end
 
 	module:log("debug", "Injected ecaps2 element in presence");
-	origin.presence:add_child(hashes);
+	origin.presence:add_child(ecaps2);
 end
 
 module:hook("c2s-capabilities-changed", caps_handler);