mod_roster: Remove <optional/> from roster version stream feature, as per latest...
authorWaqas Hussain <waqas20@gmail.com>
Sat, 7 May 2011 16:16:25 +0000 (21:16 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Sat, 7 May 2011 16:16:25 +0000 (21:16 +0500)
plugins/mod_roster.lua

index fe2eea71e9cc570051cff6bd6bef137a85ac27ee..96cc15f26431417d47ebe7447cf0f45c451047d2 100644 (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