From 6d05213bd0c4ce08df557c6a20e730a5ba3c5a0c Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 14 Sep 2009 01:13:17 +0500 Subject: mod_vcard: Handle vcard requests from local components. --- plugins/mod_vcard.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3