Software /
code /
prosody
Diff
plugins/mod_roster.lua @ 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 |
parent | 3540:bc139431830b |
child | 5013:ab693eea0869 |
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