diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-05-05 21:13:09 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-05-05 21:13:09 +0500 |
commit | cdb7f7a610ebf2dd4257a156850731b0b9764b2e (patch) | |
tree | 262289c303f71b66019566e586f596ca0f4d1ba4 /tools | |
parent | fe72a49ae5a2187b69b75159a0a5adfc15c2c8bf (diff) | |
download | prosody-cdb7f7a610ebf2dd4257a156850731b0b9764b2e.tar.gz prosody-cdb7f7a610ebf2dd4257a156850731b0b9764b2e.zip |
tools/ejabberd2prosody: Fixed private storage export
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ejabberd2prosody.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ejabberd2prosody.lua b/tools/ejabberd2prosody.lua index f2ea16f9..871130f4 100755 --- a/tools/ejabberd2prosody.lua +++ b/tools/ejabberd2prosody.lua @@ -61,7 +61,7 @@ function roster_pending(node, host, jid) 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
|