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 | e3c6e3f7c49fa4d6dbc9e3788e266f250d474afd (patch) | |
tree | 7714ab679afe9ee0ff85693a02839838630de1d4 /plugins/mod_pep.lua | |
parent | 474f5af7c90b26f32b863d1b29cf49c3ecfac766 (diff) | |
download | prosody-e3c6e3f7c49fa4d6dbc9e3788e266f250d474afd.tar.gz prosody-e3c6e3f7c49fa4d6dbc9e3788e266f250d474afd.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) |