Software /
code /
prosody-modules
Changeset
3760:830a01443a2f
mod_presence_cache: Fix traceback due to changes in trunk
Reason used to be a string and now it might be an util.error
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 09 Dec 2019 16:51:36 +0100 |
parents | 3759:57eb248f6dd3 |
children | 3761:0ae28bf0c546 |
files | mod_presence_cache/mod_presence_cache.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_presence_cache/mod_presence_cache.lua Sun Dec 08 18:48:11 2019 +0000 +++ b/mod_presence_cache/mod_presence_cache.lua Mon Dec 09 16:51:36 2019 +0100 @@ -103,7 +103,7 @@ local function clear_cache_from_s2s(remote, reason) if not remote then return end - if reason and reason:find("timeout") then return end -- Ignore connections closed for being idle + -- FIXME Ignore if connection closed for being idle module:log("debug", "Dropping cached presence from host %s", remote);