Comparison

plugins/mod_pubsub/mod_pubsub.lua @ 8318:d0a7fc7614de

mod_pubsub, mod_pep_plus: Rename simple_itemstore to reflect that it's based on archive storage
author Kim Alvefur <zash@zash.se>
date Thu, 12 Oct 2017 01:31:08 +0200
parent 8313:21466b778bf1
child 8327:0b561f8bc790
comparison
equal deleted inserted replaced
8317:ff57b3cc5a8e 8318:d0a7fc7614de
38 end 38 end
39 end 39 end
40 40
41 local function simple_itemstore(config, node) 41 local function simple_itemstore(config, node)
42 local archive = module:open_store("pubsub_"..node, "archive"); 42 local archive = module:open_store("pubsub_"..node, "archive");
43 return lib_pubsub.simple_itemstore(archive, config, nil, node, expose_publisher); 43 return lib_pubsub.archive_itemstore(archive, config, nil, node, expose_publisher);
44 end 44 end
45 45
46 if enable_persistence then 46 if enable_persistence then
47 module:log("warn", "Item persistence is an experimental feature. Note that ownership information is lost on restart.") 47 module:log("warn", "Item persistence is an experimental feature. Note that ownership information is lost on restart.")
48 else 48 else