aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua14
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index f2a25e00..6fdf2265 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -193,14 +193,12 @@ local function get_subscriber_filter(username)
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)