aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_dialback.lua
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
commit653971e4caf36b848e925180d35f0151ee9f93ba (patch)
tree701c4fbf0b1dae619476bd6abefb2625430a4a60 /plugins/mod_dialback.lua
parentfe3b3eecaee059d8c114fb37adac666eceac247d (diff)
downloadprosody-653971e4caf36b848e925180d35f0151ee9f93ba.tar.gz
prosody-653971e4caf36b848e925180d35f0151ee9f93ba.zip
mod_dialback: Remove <optional/> from stream feature, as per latest specs.
Diffstat (limited to 'plugins/mod_dialback.lua')
-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);