Mercurial > prosody-modules
diff mod_s2s_keepalive/mod_s2s_keepalive.lua @ 3769:ce1a32aa8bca
mod_s2s_keepalive: Include event payload in re-fired event (fix traceback)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 Dec 2019 15:46:20 +0100 |
parents | f547eafb5a6d |
children | ae34ee0867f0 |
line wrap: on
line diff
--- a/mod_s2s_keepalive/mod_s2s_keepalive.lua Sat Dec 21 18:50:36 2019 +0100 +++ b/mod_s2s_keepalive/mod_s2s_keepalive.lua Sun Dec 22 15:46:20 2019 +0100 @@ -74,7 +74,7 @@ if origin.type == "s2sin" or origin.type == "s2sout" then -- An error from the remote means connectivity is ok, -- so treat it the same as a result - return module:fire_event("iq-result/host/keepalive"); + return module:fire_event("iq-result/host/keepalive", event); end end);