diff options
-rw-r--r-- | plugins/mod_pep_plus.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/mod_pep_plus.lua b/plugins/mod_pep_plus.lua index 539fe9af..7955edb9 100644 --- a/plugins/mod_pep_plus.lua +++ b/plugins/mod_pep_plus.lua @@ -62,6 +62,15 @@ local function nodestore(username) return data, err; end function store:set(node, data) + if data then + -- Save the data without subscriptions + -- TODO Save explicit subscriptions maybe? + data = { + name = data.name; + config = data.config; + affiliations = data.affiliations; + }; + end return node_config:set(username, node, data); end function store:users() |