We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression on #3260
The stop_ping should not be saved in a clustering context since sessions may be on different nodes.
stop_ping
diff --git a/src/mod_ping.erl b/src/mod_ping.erl index 2ee5133fa..825acf2cd 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -203,7 +203,7 @@ user_offline(_SID, JID, _Info) -> case ejabberd_sm:get_session_pid(JID#jid.luser, JID#jid.lserver, JID#jid.lresource) of - none -> + PID when PID =:= none; node(PID) /= node() -> stop_ping(JID#jid.lserver, JID); _ -> ok
The text was updated successfully, but these errors were encountered:
Fix regression on stop_ping in clustering context (thanks to fdie)(#3817
5a2e58e
)
Thanks for reporting!
Sorry, something went wrong.
No branches or pull requests
Regression on #3260
The
stop_ping
should not be saved in a clustering context since sessions may be on different nodes.The text was updated successfully, but these errors were encountered: