In the future post such questions in Spark Support, not Spark Dev.
What version of Spark? Are these users local (which you have added to the roster manually by Add contact) or are you using Shared group or LDAP integration?
Thanks for reply, but status is getting refreshed on Open fire properly and on spark UI only is its not getting refreshed.
If log out and log in on Spark UI, then I can see the updated status.
There should be a recurring task running on spark client which tries to get the user status or on open fire server should poll it on spark UI when user changes his status on the other end.
Could you please let me know, in spark/Open source code, where(in which class and method)the user’s status gets updated?
I’m not a developer, so can’t say exactly how it works. But i think that when presence changes, Spark sends an update to the server and then Openfire pushes this change to all the interested users (who is subscribed to that user’s presence). I don’t think Spark is polling all the contacts. This will be inefficient. You can try looking for ‘presence’ in both Spark and Openfire sources.