Software /
code /
prosody
Diff
core/offlinemanager.lua @ 267:6303b7454ad0
Some bugs fixed
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 15 Nov 2008 05:33:14 +0500 |
parent | 249:1fc47cf5d144 |
child | 519:cccd610a0ef9 |
line wrap: on
line diff
--- a/core/offlinemanager.lua Fri Nov 14 02:54:56 2008 +0000 +++ b/core/offlinemanager.lua Sat Nov 15 05:33:14 2008 +0500 @@ -16,7 +16,7 @@ local data = datamanager.list_load(node, host, "offline"); if not data then return; end for k, v in ipairs(data) do - stanza = st.deserialize(v); + local stanza = st.deserialize(v); stanza:tag("delay", {xmlns = "urn:xmpp:delay", from = host, stamp = stanza.attr.stamp}):up(); -- XEP-0203 stanza:tag("x", {xmlns = "jabber:x:delay", from = host, stamp = stanza.attr.stamp_legacy}):up(); -- XEP-0091 (deprecated) stanza.attr.stamp, stanza.attr.stamp_legacy = nil, nil;