Software /
code /
prosody
Changeset
1127:3911e81aff19
tools/ejabberd2prosody: Fixed private storage export
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 05 May 2009 21:13:09 +0500 |
parents | 1124:055cfdc96afa |
children | 1128:b2e548344d61 |
files | tools/ejabberd2prosody.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/ejabberd2prosody.lua Tue May 05 16:37:43 2009 +0100 +++ b/tools/ejabberd2prosody.lua Tue May 05 21:13:09 2009 +0500 @@ -61,7 +61,7 @@ end function private_storage(node, host, xmlns, stanza) local private = dm.load(node, host, "private") or {}; - private[xmlns] = st.preserialize(stanza); + private[stanza.name..":"..xmlns] = st.preserialize(stanza); local ret, err = dm.store(node, host, "private", private); print("["..(err or "success").."] private: " ..node.."@"..host.." - "..xmlns); end