From 092dceea08532784e2ff00ffe8098d4438889b66 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 20 Sep 2009 22:18:40 +0500 Subject: mod_vcard: Handle vcard requests from local components. --- plugins/mod_vcard.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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