aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 07:33:24 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 07:33:24 +0500
commit01b77c1527fe70def16031c6bfedbe1ee5220b1e (patch)
tree2e3cf220299f5b75c67fab2909c91fbd437b1767 /plugins/mod_vcard.lua
parentdf08ef068e323636eb7bfd6ff7dbffd38b287676 (diff)
downloadprosody-01b77c1527fe70def16031c6bfedbe1ee5220b1e.tar.gz
prosody-01b77c1527fe70def16031c6bfedbe1ee5220b1e.zip
mod_vcard: Removed stream feature.
Diffstat (limited to 'plugins/mod_vcard.lua')
-rw-r--r--plugins/mod_vcard.lua7
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);