# HG changeset patch # User Kim Alvefur # Date 1441636012 -7200 # Node ID 004d3bfc05ea75d118d7c52f0d236454213fef62 # Parent a45f2f79e99bdbcfeac54c37986942647d3b42ad mod_storage_xmlarchive: Expose method for getting a list of dates which do have messages diff -r a45f2f79e99b -r 004d3bfc05ea mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Sat Sep 05 23:08:40 2015 +0100 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Mon Sep 07 16:26:52 2015 +0200 @@ -218,6 +218,10 @@ return true; end +function archive:dates(username) + return dm.list_load(username, module.host, self.store); +end + local provider = {}; function provider:open(store, typ) if typ ~= "archive" then return nil, "unsupported-store"; end