mod_vcard: Handle vcard requests from local components.

Sun, 20 Sep 2009 22:18:40 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 20 Sep 2009 22:18:40 +0500
changeset 1800
cea841708dd4
parent 1798
4c8f3fa9d926
child 1801
71fc110b256d
child 1802
07c4f6fdd27c

mod_vcard: Handle vcard requests from local components.

plugins/mod_vcard.lua file | annotate | diff | comparison | revisions
--- a/plugins/mod_vcard.lua	Sun Jul 26 17:05:18 2009 +0100
+++ b/plugins/mod_vcard.lua	Sun Sep 20 22:18:40 2009 +0500
@@ -19,7 +19,7 @@
 
 module:add_feature("vcard-temp");
 
-module:add_iq_handler({"c2s", "s2sin"}, "vcard-temp", 
+module:add_iq_handler({"c2s", "s2sin", "component"}, "vcard-temp", 
 		function (session, stanza)
 			if stanza.tags[1].name == "vCard" then
 				local to = stanza.attr.to;

mercurial