[JDEV] How should a component auto-populate a roster and force a subscription?
Mike Prince
mike at mikeprince.com
Mon Nov 18 23:56:37 CST 2002
I'm writing a component that will auto-populate a roster and
auto-subscribe the contacts.
My current tact is to use <xdb> to update the clients roster in the
database, then push the roster change to the client via an <iq
type="set"><query...
I'd then like force the subscriptions (as much as possible) by forging
the <presence> packet to the remote contact.
Am I going in the right direction?
As it stands, I'm crashing JIM with the <iq> set above and am swimming
around and not finding any documentation about the above in regards to
components. I'm basing my guesstimates on client2server interactions.
Are there any docs around (even in pre-alpha form) that could enlighten
me? What's the "right" way to do this?
Thanks,
Mike
More information about the JDev
mailing list