Software /
code /
prosody
Diff
plugins/mod_vcard.lua @ 421:63be85693710
Modules now sending disco replies
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 26 Nov 2008 08:27:09 +0500 |
parent | 357:17bcecb06420 |
child | 438:193f9dd64f17 |
line wrap: on
line diff
--- a/plugins/mod_vcard.lua Wed Nov 26 08:26:24 2008 +0500 +++ b/plugins/mod_vcard.lua Wed Nov 26 08:27:09 2008 +0500 @@ -8,6 +8,8 @@ require "util.jid" local jid_split = jid.split; +require "core.discomanager".set("vcard", "vcard-temp"); + add_iq_handler({"c2s", "s2sin"}, "vcard-temp", function (session, stanza) if stanza.tags[1].name == "vCard" then