aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-09-14 01:13:17 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-09-14 01:13:17 +0500
commit6d05213bd0c4ce08df557c6a20e730a5ba3c5a0c (patch)
tree2fa2710497aec802b6e912d70d598621774fc0c5 /plugins
parentb23082d22a10ba93191ea4fceb0d671f18f4aa8f (diff)
downloadprosody-6d05213bd0c4ce08df557c6a20e730a5ba3c5a0c.tar.gz
prosody-6d05213bd0c4ce08df557c6a20e730a5ba3c5a0c.zip
mod_vcard: Handle vcard requests from local components.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_vcard.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_vcard.lua b/plugins/mod_vcard.lua
index db67d9e5..be856897 100644
--- a/plugins/mod_vcard.lua
+++ b/plugins/mod_vcard.lua
@@ -19,7 +19,7 @@ local jid_split = jid.split;
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;