Software /
code /
prosody
File
.hgignore @ 12061:31a7e0ac6928
mod_smacks: Skip hibernation logic if session was closed or replaced
The resumption_token is removed when the session is closed via the
pre-session-close event, signaling that it cannot be resumed, and
therefore no hibernation timeout logic should be invoked.
Fixes that if a session somehow is replaced by a new one using the same
resource (which is the common behavior), the old session would still be
around until it times out at which point it sends `<presence
type="unavailable"/>` which would look as if it came from the new
session, ie appearing offline to everyone including MUCs.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Dec 2021 22:59:51 +0100 |
parent | 8345:850c433eb862 |
line wrap: on
line source
syntax: glob .hgignore .luacheckcache data local www_files html/* prosody.lua prosody.cfg.lua prosody.version config.unix *.patch *.diff *.orig *.rej *.save *~ *.o *.so *.install *.pid *.log *.err *.debug *.dll *.exp *.lib *.obj luacov.report.out luacov.report.out.index luacov.stats.out