diff options
-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); |