[Bug 26205] High-level API for ContactLists
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 15 12:43:13 CET 2011
https://bugs.freedesktop.org/show_bug.cgi?id=26205
Simon McVittie <simon.mcvittie at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sjoerd at luon.net
--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-02-15 03:43:12 PST ---
(In reply to comment #1)
> TP_CONNECTION_FEATURE_CONTACT_LIST (which depends on
> TP_CONNECTION_FEATURE_CONNECTED and TP_IFACE_CHANNEL_TYPE_CONTACT_LIST).
Some of the ContactList information is useful before CONNECTED, like whether we
have one at all, and the boolean flags.
One alternative would be:
* FEATURE_CONTACT_LIST does not depend on FEATURE_CONNECTED
* FEATURE_CONTACT_LIST also includes (a mapping of) ContactListState
* FEATURE_CONTACT_LIST also includes contact-list-error: GError or NULL,
to report why the contact list (last) failed, or NotAvailable if it's just
not
there yet
* the contact list appears to be empty until we get to the SUCCESS state,
with change notification
* FEATURE_CONNECTED doesn't require SUCCESS (rationale: it can take a while
to get the contact list, particularly on XMPP where it's a separate async
request, and MSN where the separate contact list server might even be down)
Another would be:
* as above, plus
* FEATURE_CONTACT_LIST_FULL (better name needed) requires that SUCCESS or
FAILURE state has been reached
Someone objected to features that require CONNECTED; Sjoerd, perhaps?
--
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