From: Waqas Hussain Date: Sun, 18 Oct 2009 02:33:24 +0000 (+0500) Subject: mod_vcard: Removed stream feature. X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;ds=sidebyside;h=81010cdd57e7bf53c14d5848dfee1f7960d097e9;hp=87c9d431dff65fc54a54528dcf591091a0e2963a;p=prosody.git mod_vcard: Removed stream feature. --- diff --git a/plugins/mod_vcard.lua b/plugins/mod_vcard.lua index f1c95bbf..3291d1c7 100644 --- a/plugins/mod_vcard.lua +++ b/plugins/mod_vcard.lua @@ -62,10 +62,3 @@ if module:get_option("vcard_compatibility") then 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);