Changeset

4264:fa36e749749c

mod_dialback: Remove <optional/> from stream feature, as per latest specs.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 07 May 2011 21:16:06 +0500
parents 4263:618e2a2b2d2c
children 4265:d56c26c258e4
files plugins/mod_dialback.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_dialback.lua	Sat May 07 21:15:34 2011 +0500
+++ b/plugins/mod_dialback.lua	Sat May 07 21:16:06 2011 +0500
@@ -148,5 +148,5 @@
 
 -- Offer dialback to incoming hosts
 module:hook("s2s-stream-features", function (data)
-	data.features:tag("dialback", { xmlns='urn:xmpp:features:dialback' }):tag("optional"):up():up();
+	data.features:tag("dialback", { xmlns='urn:xmpp:features:dialback' }):up();
 end);