[jdev] XEP-0100 and roster/legacy contact list sync
tomek at xiaoka.com
Mon Dec 3 05:02:20 CST 2007
Dnia 02-12-2007, N o godzinie 00:59 +0100, Magnus Henoch pisze:
> A random idea: if the legacy server provides some kind of versioning
> of the contact list (ICQ does), the transport could save just the last
> version/date that was synced to the Jabber roster. If there's a newer
> version on the legacy service, the transport can just send "subscribe"
> stanzas for _all_ contacts; the user's server will weed out the ones
> that already have subscription (section 5.1.6 of RFC 3921).
It does not even need to know anything had change.
In my transport I do this kind of synchronization (resubscribe to all
the users legacy contacts) every time a user logs in.
It's quick, simple and solves many problems related to presence mapping.
/\_./o__ Tomasz Sterna
._.(_.)_ XMPP: smoku at xiaoka.com
More information about the JDev