Software /
code /
prosody
Changeset
1649:a6698ab04039
ejabberdsql2prosody: Removed unnecessary stanza reserialization for private storage
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 08 Aug 2009 23:23:21 +0500 |
parents | 1648:b05371e6f058 |
children | 1650:b010d6711527 |
files | tools/ejabberdsql2prosody.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/ejabberdsql2prosody.lua Sat Aug 08 23:17:32 2009 +0500 +++ b/tools/ejabberdsql2prosody.lua Sat Aug 08 23:23:21 2009 +0500 @@ -327,7 +327,7 @@ print("["..(err or "success").."] vCard: "..row.username.."@"..host); end for i, row in ipairs(t["private_storage"] or NULL) do - private_storage(row.username, host, row.namespace, st.preserialize(parse_xml(row.data))); + private_storage(row.username, host, row.namespace, parse_xml(row.data)); end table.sort(t["spool"] or NULL, function(a,b) return a.seq < b.seq; end); -- sort by sequence number, just in case local time_offset = os.difftime(os.time(os.date("!*t")), os.time(os.date("*t"))) -- to deal with timezones