# HG changeset patch # User Kim Alvefur # Date 1557065370 -7200 # Node ID ddf109d58efff32141b8c7b690e9ef13b91c84b6 # Parent 611ac62c5b633851aa85ba063316d66d810a878b mod_storage_xmlarchive: Add support for user iteration API Helps migration tools discover available users diff -r 611ac62c5b63 -r ddf109d58eff mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun May 05 16:04:20 2019 +0200 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sun May 05 16:09:30 2019 +0200 @@ -286,6 +286,10 @@ return dates; end +function archive:users() + return dm.users(module.host, self.store, "list"); +end + local provider = {}; function provider:open(store, typ) if typ ~= "archive" then return nil, "unsupported-store"; end