[jdev] XEP-0100 and roster/legacy contact list sync

Magnus Henoch mange at freemail.hu
Sat Dec 1 14:28:34 CST 2007


"Massimiliano Mirra" <iolgzc102 at sneakemail.com> writes:

> Now, assuming that user and gateway want to do their best to keep the
> Jabber roster and legacy contact list in sync, what happens if user
> adds a legacy contact through a legacy client (thus without the
> gateway's knowledge)?  When user connects again via Jabber, is the
> gateway supposed to notice that a new legacy contact is available, and
> push it to the user (using one of above methods)?

Yes.  Maybe this can be seen as a special case of section 5.1.

> Alternately, assuming neither the gateway nor the user are interested
> in synchronization, is it acceptable for the gateway to send no
> <presence type="subscribe" from={contact at gateway}/> from legacy
> contacts nor roster item exchange packets, but just ordinary <presence
> from={contact at gateway}/>, and not affect user's roster at all?

More or less.  Some (most?) clients will not display presence from
contacts not in the user's roster, but sending such presence is
explicitly mentioned in the RFC 3921, section 5.1.4.

-- 
Magnus
JID: legoscia at jabber.cd.chalmers.se




More information about the JDev mailing list