0

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?

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44
Neeraj Yadav
  • 145
  • 1
  • 12

1 Answers1

0

The presence is broadcasted in realtime, so yes, broadcasting presence unavailable is instant.

Mickaël Rémond
  • 9,035
  • 1
  • 24
  • 44
  • There is a web portal of ejabberd (host:5280/admin/), which shows the list of online users. There are instances when according to that list, a user is still online, but the messages meant to be delivered to this user are getting stored in offline storage (spool). Does this list takes a while to get updated? – Neeraj Yadav Apr 15 '16 at 12:47