# HG changeset patch # User Kim Alvefur # Date 1575906696 -3600 # Node ID 830a01443a2f5816b92bf61ba672f45eedf5422f # Parent 57eb248f6dd351069d340c7e339adc7e3982b285 mod_presence_cache: Fix traceback due to changes in trunk Reason used to be a string and now it might be an util.error diff -r 57eb248f6dd3 -r 830a01443a2f mod_presence_cache/mod_presence_cache.lua --- 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);