mod_storage_xmlarchive: Advertise capabilities (none atm)
Both 'total' and 'quota' would be prohibitively expensive for the kind
of archives this module targets as it would require counting items
across the entire archive.
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Fri Aug 13 01:06:15 2021 +0200
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Fri Aug 13 01:18:32 2021 +0200
@@ -22,6 +22,11 @@
local archive = {};
local archive_mt = { __index = archive };
+archive.caps = {
+ total = false,
+ quota = nil,
+};
+
local is_stanza = st.is_stanza or function (s)
return getmetatable(s) == st.stanza_mt;
end