aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-09-20 22:18:40 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-09-20 22:18:40 +0500
commit092dceea08532784e2ff00ffe8098d4438889b66 (patch)
treecff699826473cc13a04af5681bd783665a050f11 /plugins/mod_vcard.lua
parent2724c957228a36047f9ba311110e493116f20952 (diff)
downloadprosody-092dceea08532784e2ff00ffe8098d4438889b66.tar.gz
prosody-092dceea08532784e2ff00ffe8098d4438889b66.zip
mod_vcard: Handle vcard requests from local components.
Diffstat (limited to 'plugins/mod_vcard.lua')
-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;