aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_pep.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 6fdf2265..55b2d020 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -192,6 +192,8 @@ local function get_subscriber_filter(username)
end
end
+-- Read-only service with no nodes where nobody is allowed anything to act as a
+-- fallback for interactions with non-existant users
local nobody_service = pubsub.new({
node_defaults = {
["max_items"] = 1;
@@ -199,6 +201,11 @@ local nobody_service = pubsub.new({
["access_model"] = "presence";
["send_last_published_item"] = "on_sub_and_presence";
};
+ autocreate_on_publish = false;
+ autocreate_on_subscribe = false;
+ get_affiliation = function ()
+ return "outcast";
+ end;
});
function get_pep_service(username)