mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
vcards for s2s
This commit is contained in:
parent
6df10675c8
commit
bc2809ddd9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue