aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2011-05-07 21:16:25 +0500
committerWaqas Hussain <waqas20@gmail.com>2011-05-07 21:16:25 +0500
commit0e3f3ca83d32c18ab85003be83978917a4ec58d3 (patch)
tree9682623b99145acb35c3654cc2c6a8ac00c495ee /plugins
parent653971e4caf36b848e925180d35f0151ee9f93ba (diff)
downloadprosody-0e3f3ca83d32c18ab85003be83978917a4ec58d3.tar.gz
prosody-0e3f3ca83d32c18ab85003be83978917a4ec58d3.zip
mod_roster: Remove <optional/> from roster version stream feature, as per latest specs.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_roster.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua
index fe2eea71..96cc15f2 100644
--- a/plugins/mod_roster.lua
+++ b/plugins/mod_roster.lua
@@ -22,7 +22,7 @@ local core_post_stanza = core_post_stanza;
module:add_feature("jabber:iq:roster");
-local rosterver_stream_feature = st.stanza("ver", {xmlns="urn:xmpp:features:rosterver"}):tag("optional"):up();
+local rosterver_stream_feature = st.stanza("ver", {xmlns="urn:xmpp:features:rosterver"});
module:hook("stream-features", function(event)
local origin, features = event.origin, event.features;
if origin.username then