aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2011-05-07 21:16:06 +0500
committerWaqas Hussain <waqas20@gmail.com>2011-05-07 21:16:06 +0500
commit11d33fcec6bb99c6cbd2424ec9dbf43885001152 (patch)
tree701c4fbf0b1dae619476bd6abefb2625430a4a60
parentcc63bb3d411de451daad21f03bde97504fe67267 (diff)
downloadprosody-11d33fcec6bb99c6cbd2424ec9dbf43885001152.tar.gz
prosody-11d33fcec6bb99c6cbd2424ec9dbf43885001152.zip
mod_dialback: Remove <optional/> from stream feature, as per latest specs.
-rw-r--r--plugins/mod_dialback.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index c1c5d920..91291e24 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -148,5 +148,5 @@ end, 100);
-- 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);