mod_storage_xmlarchive: Return 'when' as number
authorKim Alvefur <zash@zash.se>
Tue, 19 May 2015 16:46:20 +0200
changeset 1756 3f3689a16133
parent 1755 3f3a5daf31cc
child 1757 54c8a0cb2996
mod_storage_xmlarchive: Return 'when' as number
mod_storage_xmlarchive/mod_storage_xmlarchive.lua
--- 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