Software /
code /
prosody-modules
Comparison
mod_storage_s3/mod_storage_s3.lua @ 5755:e8938a3166d2
mod_storage_s3: Advertise full id range archive query capability
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Nov 2023 22:29:21 +0100 |
parent | 5751:80702e33ba71 |
child | 5756:b6518a71ca7e |
comparison
equal
deleted
inserted
replaced
5754:1bdc6b5979ee | 5755:e8938a3166d2 |
---|---|
196 | 196 |
197 local archive = {}; | 197 local archive = {}; |
198 driver.archive = { __index = archive }; | 198 driver.archive = { __index = archive }; |
199 | 199 |
200 archive.caps = { | 200 archive.caps = { |
201 full_id_range = true; -- both before and after used | |
201 }; | 202 }; |
202 | 203 |
203 function archive:_path(username, date, when, with, key) | 204 function archive:_path(username, date, when, with, key) |
204 return url.build_path({ | 205 return url.build_path({ |
205 is_absolute = true; | 206 is_absolute = true; |