From 81010cdd57e7bf53c14d5848dfee1f7960d097e9 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 18 Oct 2009 07:33:24 +0500 Subject: [PATCH] mod_vcard: Removed stream feature. --- plugins/mod_vcard.lua | 7 ------- 1 file changed, 7 deletions(-) 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); -- 2.30.2