diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-01 20:13:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-01 20:13:08 +0100 |
commit | 78a1e8352bd4bc6125f2e2c402e92de7e6ad18e7 (patch) | |
tree | 45cdf0f469b73e6ceec73ca68488f1c5756772b6 /plugins/mod_smacks.lua | |
parent | d2b3e9257805580d33046271ba2108ed4973e1a7 (diff) | |
download | prosody-78a1e8352bd4bc6125f2e2c402e92de7e6ad18e7.tar.gz prosody-78a1e8352bd4bc6125f2e2c402e92de7e6ad18e7.zip |
mod_smacks: Clear resumption token from persistent storage on resumption
Diffstat (limited to 'plugins/mod_smacks.lua')
-rw-r--r-- | plugins/mod_smacks.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua index 9e3b5290..b4ac7ec5 100644 --- a/plugins/mod_smacks.lua +++ b/plugins/mod_smacks.lua @@ -549,6 +549,7 @@ function handle_resume(session, stanza, xmlns_sm) session.send(st.stanza("failed", { xmlns = xmlns_sm, h = format_h(old_session.h) }) :tag("item-not-found", { xmlns = xmlns_errors }) ); + old_session_registry:set(session.username, id, nil); else session.send(st.stanza("failed", { xmlns = xmlns_sm }) :tag("item-not-found", { xmlns = xmlns_errors }) |