Software /
code /
prosody
Diff
plugins/mod_vcard.lua @ 195:08753eafbf46
vcards for s2s
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 02 Nov 2008 01:20:42 +0000 |
parent | 184:6528845e8673 |
child | 307:8ff052a77cac |
line wrap: on
line diff
--- a/plugins/mod_vcard.lua Sun Nov 02 01:19:23 2008 +0000 +++ b/plugins/mod_vcard.lua Sun Nov 02 01:20:42 2008 +0000 @@ -9,7 +9,7 @@ require "util.jid" local jid_split = jid.split; -add_iq_handler("c2s", "vcard-temp", +add_iq_handler({"c2s", "s2sin"}, "vcard-temp", function (session, stanza) if stanza.tags[1].name == "vCard" then local to = stanza.attr.to;