mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_roster: Remove <optional/> from roster version stream feature, as per latest specs.
This commit is contained in:
parent
653971e4ca
commit
0e3f3ca83d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue