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
commitfb9045ba583c00d462ba153febd2a60c7b9de3b8 (patch)
tree9682623b99145acb35c3654cc2c6a8ac00c495ee /plugins
parent11d33fcec6bb99c6cbd2424ec9dbf43885001152 (diff)
downloadprosody-fb9045ba583c00d462ba153febd2a60c7b9de3b8.tar.gz
prosody-fb9045ba583c00d462ba153febd2a60c7b9de3b8.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