Software /
code /
prosody
Changeset
8978:9d6c0c11e383
mod_pubsub: Translate missing fields into node config
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Jul 2018 16:04:26 +0200 |
parents | 8977:f4030a506d6b |
children | 8979:6897b2e18bdf |
files | plugins/mod_pubsub/pubsub.lib.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua Fri Jul 06 15:58:11 2018 +0100 +++ b/plugins/mod_pubsub/pubsub.lib.lua Fri Jul 06 16:04:26 2018 +0200 @@ -435,6 +435,8 @@ local new_config = { ["max_items"] = tonumber(form_data["pubsub#max_items"]); ["persist_items"] = form_data["pubsub#persist_items"]; + ["notification_type"] = form_data["pubsub#notification_type"]; + ["include_body"] = form_data["pubsub#include_body"]; }; local ok, err = service:set_node_config(node, stanza.attr.from, new_config); if not ok then