mod_pep: Correct initialization of fallback service
I'm not sure what went wrong here, copy-paste mistake?
Doesn't matter as long as nobody can create nodes on this service.
--- a/plugins/mod_pep.lua Wed Feb 02 18:36:08 2022 +0100
+++ b/plugins/mod_pep.lua Thu Feb 03 09:46:19 2022 +0100
@@ -193,14 +193,12 @@
end
local nobody_service = pubsub.new({
- service = pubsub.new({
- node_defaults = {
- ["max_items"] = 1;
- ["persist_items"] = false;
- ["access_model"] = "presence";
- ["send_last_published_item"] = "on_sub_and_presence";
- };
- });
+ node_defaults = {
+ ["max_items"] = 1;
+ ["persist_items"] = false;
+ ["access_model"] = "presence";
+ ["send_last_published_item"] = "on_sub_and_presence";
+ };
});
function get_pep_service(username)