Mercurial > prosody-modules
comparison 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 |
comparison
equal
deleted
inserted
replaced
1751:3f3a5daf31cc | 1752:3f3689a16133 |
---|---|
159 reset_stream(); | 159 reset_stream(); |
160 end | 160 end |
161 if result then | 161 if result then |
162 local stanza = result; | 162 local stanza = result; |
163 result = nil; | 163 result = nil; |
164 return item.id, stanza, item.when, item.with; | 164 return item.id, stanza, i_when, i_with; |
165 end | 165 end |
166 end | 166 end |
167 if (rev and item.id == query.after) or | 167 if (rev and item.id == query.after) or |
168 (not rev and item.id == query.before) then | 168 (not rev and item.id == query.before) then |
169 in_range = false; | 169 in_range = false; |