Comparison

plugins/mod_mam/mod_mam.lua @ 9555:ed5a5ddcef17

mod_mam: Remove embedded fallback archive driver (fixes #972) It was equivalent to mod_storage_memory, which is included as a separate module now.
author Kim Alvefur <zash@zash.se>
date Thu, 25 Oct 2018 21:59:17 +0200
parent 9554:cba6e6168d26
child 9751:39ee70fbb009
child 9879:ddc07fb8dcd4
comparison
equal deleted inserted replaced
9554:cba6e6168d26 9555:ed5a5ddcef17
42 42
43 if not archive.find then 43 if not archive.find then
44 error("mod_"..(archive._provided_by or archive.name and "storage_"..archive.name).." does not support archiving\n" 44 error("mod_"..(archive._provided_by or archive.name and "storage_"..archive.name).." does not support archiving\n"
45 .."See https://prosody.im/doc/storage and https://prosody.im/doc/archiving for more information"); 45 .."See https://prosody.im/doc/storage and https://prosody.im/doc/archiving for more information");
46 end 46 end
47
48 local use_total = module:get_option_boolean("mam_include_total", true); 47 local use_total = module:get_option_boolean("mam_include_total", true);
49 48
50 local cleanup; 49 local cleanup;
51 50
52 local function schedule_cleanup(username) 51 local function schedule_cleanup(username)