diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-06 18:58:25 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-06 18:58:25 +0200 |
commit | 3178d9bebb5b22eb40dd0e988cc22bf1888caf94 (patch) | |
tree | 7714ab679afe9ee0ff85693a02839838630de1d4 /plugins/mod_pep.lua | |
parent | 85fc6826c7427195889abd7b7895c0edc18bd268 (diff) | |
download | prosody-3178d9bebb5b22eb40dd0e988cc22bf1888caf94.tar.gz prosody-3178d9bebb5b22eb40dd0e988cc22bf1888caf94.zip |
mod_pep: Pass 'recipients' table across module reloads
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index e94ba4bb..f6ec8e12 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -32,11 +32,15 @@ local known_nodes = module:open_store("pep"); local max_max_items = module:get_option_number("pep_max_items", 256); function module.save() - return { services = services }; + return { + services = services; + recipients = recipients; + }; end function module.restore(data) services = data.services; + recipients = data.recipients; end function is_item_stanza(item) |