[Bug 26205] High-level API for ContactLists

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 5 10:02:50 CEST 2011


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

--- Comment #59 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2011-08-05 01:02:49 PDT ---
(In reply to comment #48)
> Review of attachment 49907 [details]:
> 
> ::: telepathy-glib/account-manager.c
> @@ +63,3 @@
> + * #TpAccountManager is the "top level" object, its #TpProxy:factory will be
> + * propagated to all other objects like #TpAccountManager -> #TpAccount ->
> + * #TpConnection -> #TpContact and #TpChannel.
> 
> I'd make clearer that imply all the features from this factory will be
> prepared.

You didn't fix this one.


(In reply to comment #54)
> Review of attachment 49905 [details]:
> @@ +709,3 @@
> + * For this method to be valid, you must first call tp_proxy_prepare_async()
> + * with the feature %TP_CONNECTION_FEATURE_CONTACT_LIST and verify the
> + * #TpConnection:contact-list-state is set to %TP_CONTACT_LIST_STATE_SUCCESS.
> 
> if state is not SUCCESS, even if feature is prepared, returned list will be
> empty. Feature being prepared means "we know CM's state" but does not mean the
> CM already fetched from server. Doc could be improved I guess...

Then the doc of the feature lies:
"When this feature is prepared (...) all #TpContact objects has been prepared
with the desired features"

Also the examples are wrong as they assumed that once the feature has been
prepared the list of contacts is ready to be used.

-- 
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