mod_vcard: Removed stream feature.

Sun, 18 Oct 2009 07:33:24 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 18 Oct 2009 07:33:24 +0500
changeset 2003
b7429073f73f
parent 2002
fa71261d8a15
child 2004
5033348feba8

mod_vcard: Removed stream feature.

plugins/mod_vcard.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_vcard.lua	Sun Oct 18 07:30:58 2009 +0500
+++ b/plugins/mod_vcard.lua	Sun Oct 18 07:33:24 2009 +0500
@@ -62,10 +62,3 @@
 		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);

mercurial