mod_vcard: Removed stream feature.
authorWaqas Hussain <waqas20@gmail.com>
Sun, 18 Oct 2009 02:33:24 +0000 (07:33 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Sun, 18 Oct 2009 02:33:24 +0000 (07:33 +0500)
plugins/mod_vcard.lua

index f1c95bbf73ebf34e66a29e819ca3e9906cb9987f..3291d1c7a0926ebd8c59fe3ffffaa3ea8e62b408 100644 (file)
@@ -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);