Changeset

195:08753eafbf46

vcards for s2s
author Matthew Wild <mwild1@gmail.com>
date Sun, 02 Nov 2008 01:20:42 +0000
parents 194:4ea1ec218976
children 196:ebe23269b377
files plugins/mod_vcard.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;