Software /
code /
prosody
Changeset
12052:d17b8fcf11c7
mod_smacks: Clear resumption token from persistent storage on resumption
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 01 Dec 2021 20:13:08 +0100 |
parents | 12051:c32ef09ab452 |
children | 12053:03e9587fbfd2 |
files | plugins/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_smacks.lua Wed Dec 01 16:41:10 2021 +0100 +++ b/plugins/mod_smacks.lua Wed Dec 01 20:13:08 2021 +0100 @@ -549,6 +549,7 @@ 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 })