I am using Smack library on android for implementing xmpp based chat. How much time does ejabberd server takes to mark a user offline (start storing into offline storage) if it receives a presence type=unavailable from a client.
Is it instant or does it takes some time?