Software /
code /
prosody
Changeset
1779:3da808c7bfa2
mod_vcard: Handle vcard requests from local components.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 14 Sep 2009 01:13:17 +0500 |
parents | 1778:f4213d84ba8a |
children | 1780:668ce0a2050d |
files | plugins/mod_vcard.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;