[Bug 43826] avoid downloading the roster at every connection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 23 17:04:39 CET 2012


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

--- Comment #10 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-23 08:04:39 PST ---
> + * If the #TpBaseContactList subclass does not override
> + * download_async, it is an error to call this method.

Telepathy design principle number 47: don't be remotely crashable. If the
Telepathy client calls Download() in a CM that is older than this
telepathy-glib version, the CM shouldn't critical and crash.

I think the default implementation should be to raise TP_ERROR_NOT_IMPLEMENTED,
asynchronously. You might find that g_simple_async_report_error_in_idle() is
useful.

Other than that, this looks good.

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