Sun, 18 Oct 2009 07:33:24 +0500
mod_vcard: Removed stream feature.
plugins/mod_vcard.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_vcard.lua Sun Oct 18 07:30:58 2009 +0500 +++ b/plugins/mod_vcard.lua Sun Oct 18 07:33:24 2009 +0500 @@ -62,10 +62,3 @@ end end, 1); end - -local feature_vcard = st.stanza("feature", { var = xmlns_vcard }); -module:add_event_hook("stream-features", function(session, features) - if session.type == "c2s" then - features:add_child(feature_vcard); - end -end);