mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
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.
This commit is contained in:
parent
3e55057a85
commit
4b05d0f240
8 changed files with 226 additions and 0 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue