vcards for s2s
authorMatthew Wild <mwild1@gmail.com>
Sun, 2 Nov 2008 01:20:42 +0000 (01:20 +0000)
committerMatthew Wild <mwild1@gmail.com>
Sun, 2 Nov 2008 01:20:42 +0000 (01:20 +0000)
plugins/mod_vcard.lua

index 78d35fda70f9640f5ecb96fb24a9bd9c2c3ac9cf..67c8309ac9b4950d6d9bf38006ae93ecdb9644c7 100644 (file)
@@ -9,7 +9,7 @@ local t_concat, t_insert = table.concat, table.insert;
 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;