[JDEV] Capturing roster 'remove' events from an accept component

Mike Prince mike at mikeprince.com
Fri Jan 3 17:37:07 CST 2003


Is there an elegant way of listening in on client initiated roster
remove messages?

I have an accept component that needs to know when a user removes a
contact from their roster.  I could tap in through the <xdb> mechanism
but that seems like I'd incur a lot of overhead just to find a few
messages.

Another thought was using xdb_sql and then polling for updated records
using a database generated timestamp, but again kind of kludgy.

Anyone have a good idea of how I should do this?

Thanks,

Mike





More information about the JDev mailing list