diff options
author | Waqas Hussain <waqas20@gmail.com> | 2011-05-07 21:16:25 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2011-05-07 21:16:25 +0500 |
commit | fb9045ba583c00d462ba153febd2a60c7b9de3b8 (patch) | |
tree | 9682623b99145acb35c3654cc2c6a8ac00c495ee | |
parent | 11d33fcec6bb99c6cbd2424ec9dbf43885001152 (diff) | |
download | prosody-fb9045ba583c00d462ba153febd2a60c7b9de3b8.tar.gz prosody-fb9045ba583c00d462ba153febd2a60c7b9de3b8.zip |
mod_roster: Remove <optional/> from roster version stream feature, as per latest specs.
-rw-r--r-- | plugins/mod_roster.lua | 2 |
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 |