diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-10-18 07:33:24 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-10-18 07:33:24 +0500 |
commit | 01b77c1527fe70def16031c6bfedbe1ee5220b1e (patch) | |
tree | 2e3cf220299f5b75c67fab2909c91fbd437b1767 | |
parent | df08ef068e323636eb7bfd6ff7dbffd38b287676 (diff) | |
download | prosody-01b77c1527fe70def16031c6bfedbe1ee5220b1e.tar.gz prosody-01b77c1527fe70def16031c6bfedbe1ee5220b1e.zip |
mod_vcard: Removed stream feature.
-rw-r--r-- | plugins/mod_vcard.lua | 7 |
1 files changed, 0 insertions, 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); |