mod_roster: Remove <optional/> from roster version stream feature, as per latest specs.

This commit is contained in:
Waqas Hussain 2011-05-07 21:16:25 +05:00
parent 653971e4ca
commit 0e3f3ca83d

View file

@ -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