Mercurial > prosody-modules
diff mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 1752:3f3689a16133
mod_storage_xmlarchive: Return 'when' as number
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 19 May 2015 16:46:20 +0200 |
parents | ec50cecc9318 |
children | 54c8a0cb2996 |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Tue May 19 16:45:51 2015 +0200 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Tue May 19 16:46:20 2015 +0200 @@ -161,7 +161,7 @@ if result then local stanza = result; result = nil; - return item.id, stanza, item.when, item.with; + return item.id, stanza, i_when, i_with; end end if (rev and item.id == query.after) or