ejabberd shows user is online till 30 seconds when switch off wi-fi or close the internet. how to offline user when there is no internet connection. we set also ping interval about 10 seconds in config file but still user shows online till 30 secons. is there any properties to set in config file?
thanks in advance.
ejabberd shows user is
I have same problem, and searched a lot to find a solution. No result yet...
ejabberd shows user is
The TCP stack won't notify ejabberd when the connection is lost without being closed properly. You could modify
mod_ping
to expect a quicker response from the client, but of course you need to wait some number of seconds so you don't kill off connections that are still alive. There's no way to get an instant notification when a TCP connection is lost.