Changeset

4265:d56c26c258e4

mod_roster: Remove <optional/> from roster version stream feature, as per latest specs.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 07 May 2011 21:16:25 +0500
parents 4264:fa36e749749c
children 4266:513485a11b85
files plugins/mod_roster.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_roster.lua	Sat May 07 21:16:06 2011 +0500
+++ b/plugins/mod_roster.lua	Sat May 07 21:16:25 2011 +0500
@@ -22,7 +22,7 @@
 
 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