diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-06 16:04:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-06 16:04:26 +0200 |
commit | f41fb80972d652063fc971c5a4dd601c93214dd7 (patch) | |
tree | ac43ad801a68a0cb678a0a1e1e13104052007511 /plugins | |
parent | 3154d7958abee227b8c0c68b28634dc3aa0c0248 (diff) | |
download | prosody-f41fb80972d652063fc971c5a4dd601c93214dd7.tar.gz prosody-f41fb80972d652063fc971c5a4dd601c93214dd7.zip |
mod_pubsub: Translate missing fields into node config
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 4ed4bc86..aa8eb32a 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -435,6 +435,8 @@ function handlers.owner_set_configure(origin, stanza, config, service) 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 |