Sun, 02 Nov 2008 01:20:42 +0000
vcards for s2s
plugins/mod_vcard.lua | file | annotate | diff | comparison | revisions |
--- 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;