Contact list is not refreshing automatically

I am making my own client. i got success in registering external IM. file send available request to the chat client but server doesn’‘t respond and not sending roster entries. so that in order to get my contact list i have to restart my client and it’'s happen with the spark as well in spark i have to sign in manually.

any one else having same issue using wildfire server.

– Amit