[Bug 43826] avoid downloading the roster at every connection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 23 17:11:00 CET 2012


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

--- Comment #11 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-23 08:11:00 PST ---
> ContactList: add property DownloadAtConnection in TpBaseContactList

In this implementation, each CM's subclass basically has to implement storing a
boolean property, and a getter method for it, which seems like a bit of a waste
of time.

You could perhaps make life easier for CM authors by adding a boolean GObject
property download-at-connection (default: TRUE) to the base class, using that
in tp_base_contact_list_get_list_dbus_property, and removing
get_download_at_connection; then the CM author would pass
"download-at-connection" to g_object_new(), and that'd be all they needed to
do. In older CMs, the default of TRUE would 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