powered by Jive Software

Roster refresh to show new buddy list in Spark( and clear old buddy list)

Hi,

We have modified openfire server to send new buddy list once the presence parameter is modified on the Spark Client. Our application would require the buddy list on the client to refresh to the new buddy list by clearing the old buddylist.( which might not have same buddies as the previous list) without loging off. eg. in case the presence"away" chenged to " online" the new roster which is sent from server should be displayed.

Issue: Our problem is that on the spark client we are unable to display the new buddy list. We are getting the raw roster packets on the client side. It seems that the spark client stores the buddies in a cache and only appends for a perticular session. Would appreciate if some one can give us pointers regarding the approach to be taken or the classes which we would need to touch.