From 4b05d0f2402475fea608fd3e48a96364bc6da4f2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 Oct 2021 18:11:50 +0200 Subject: mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436 Default left as 'never' in mod_pubsub to preserve the previous behavior. Unclear if this is desirable, but can always be changed later. In mod_pep this allows turning off the automatic resending of most recent item. --- util/pubsub.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util') diff --git a/util/pubsub.lua b/util/pubsub.lua index e23818b8..75620a42 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -136,6 +136,7 @@ local default_node_config = { ["max_items"] = 20; ["access_model"] = "open"; ["publish_model"] = "publishers"; + ["send_last_published_item"] = "never"; }; local default_node_config_mt = { __index = default_node_config }; -- cgit v1.2.3