# HG changeset patch # User Waqas Hussain # Date 1255833204 -18000 # Node ID b7429073f73fbaebde36187725a362fcb2d9f8fd # Parent fa71261d8a155f566c510e167e1f53b409914c64 mod_vcard: Removed stream feature. diff -r fa71261d8a15 -r b7429073f73f plugins/mod_vcard.lua --- 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);