plugins/mod_pubsub/mod_pubsub.lua
changeset 8330 0b561f8bc790
parent 8321 d0a7fc7614de
child 8331 29ef191c7bf9
equal deleted inserted replaced
8329:12408867bc86 8330:0b561f8bc790
    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.archive_itemstore(archive, config, nil, node, expose_publisher);
    43 	return lib_pubsub.archive_itemstore(archive, config, nil, node);
    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