# HG changeset patch # User Waqas Hussain # Date 1252872797 -18000 # Node ID 3da808c7bfa25d1019bbabc8b2674adcd4f53657 # Parent f4213d84ba8ada4def0503d74296f463904c6d68 mod_vcard: Handle vcard requests from local components. diff -r f4213d84ba8a -r 3da808c7bfa2 plugins/mod_vcard.lua --- a/plugins/mod_vcard.lua Sun Sep 13 23:52:09 2009 +0500 +++ b/plugins/mod_vcard.lua Mon Sep 14 01:13:17 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;