[Bug 43035] A method to avoid downloading the roster at every connection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 21 12:22:15 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43035

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-11-21 03:22:15 PST ---
While implementing client interests and ContactList I wondered whether
ContactList should be a client interest that's automatically added by calling
any ContactList method, but other spec developers thought this was unnecessary.

Be aware of this bit from RFC 3921 §7.3: "If an available resource does not
request the roster during a session, the server MUST NOT send it presence
subscriptions and associated roster updates."

If we get presence in its role as contact-list change notification, or a roster
push, then we should probably download the contact list automatically at that
point, as an attempt to resync. (The above means that only buggy servers can
cause that situation, I think - but it wouldn't surprise me at all if semi-XMPP
bridge-based servers like Facebook and Windows Live don't obey §7.3.)

Would XEP-0237 Roster Versioning remove the need to avoid downloading the
roster? (I don't know which servers support 0237, though, and I suspect that
it's the big, popular ones - like GTalk and Facebook - that are least likely to
do so.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list