Mercurial > prosody-modules
comparison mod_vjud/mod_vjud.lua @ 742:da8f561d79b4
mod_vjud: Remove some ... verbose debug logging
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 13 Jul 2012 14:07:30 +0200 |
parents | 81de1e446bfe |
children | cec49ee88c23 |
comparison
equal
deleted
inserted
replaced
741:a7f7a7e75737 | 742:da8f561d79b4 |
---|---|
61 }; | 61 }; |
62 | 62 |
63 local function get_user_vcard(user) | 63 local function get_user_vcard(user) |
64 local vCard = dm_load(user, module.host, "vcard"); | 64 local vCard = dm_load(user, module.host, "vcard"); |
65 if vCard then | 65 if vCard then |
66 module:log("warn", require"util.serialization".serialize(vCard)); | |
67 vCard = st.deserialize(vCard); | 66 vCard = st.deserialize(vCard); |
68 module:log("warn", require"util.serialization".serialize(vCard)); | |
69 vCard = vcard.from_xep54(vCard); | 67 vCard = vcard.from_xep54(vCard); |
70 module:log("warn", require"util.serialization".serialize(vCard)); | |
71 return setmetatable(vCard, vCard_mt); | 68 return setmetatable(vCard, vCard_mt); |
72 end | 69 end |
73 end | 70 end |
74 | 71 |
75 local at_host = "@"..module.host; | 72 local at_host = "@"..module.host; |