25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Fix regression on stop_ping in clustering context (thanks to fdie)(#3817)

This commit is contained in:
Badlop 2022-05-23 16:52:27 +02:00
parent 0e25f8d43e
commit 5a2e58e066

View File

@ -203,7 +203,7 @@ user_offline(_SID, JID, _Info) ->
case ejabberd_sm:get_session_pid(JID#jid.luser, case ejabberd_sm:get_session_pid(JID#jid.luser,
JID#jid.lserver, JID#jid.lserver,
JID#jid.lresource) of JID#jid.lresource) of
none -> PID when PID =:= none; node(PID) /= node() ->
stop_ping(JID#jid.lserver, JID); stop_ping(JID#jid.lserver, JID);
_ -> _ ->
ok ok