# HG changeset patch # User Kim Alvefur # Date 1530885866 -7200 # Node ID 9d6c0c11e3831336e26e295e8734760cbc8d583e # Parent f4030a506d6bfbc5669d75e8894080c22ac39298 mod_pubsub: Translate missing fields into node config diff -r f4030a506d6b -r 9d6c0c11e383 plugins/mod_pubsub/pubsub.lib.lua --- 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