Changeset

12248:4dbca0858f0b

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.
author Kim Alvefur <zash@zash.se>
date Thu, 03 Feb 2022 09:46:19 +0100
parents 12247:dcad8940f072
children 12249:5173f8a761a0
files plugins/mod_pep.lua
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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)