Bug 35947 - Need a way to get dates for any dates / any contact
Summary: Need a way to get dates for any dates / any contact
Status: RESOLVED WONTFIX
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-04 03:49 UTC by Emilio Pozuelo Monfort
Modified: 2011-04-04 06:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Emilio Pozuelo Monfort 2011-04-04 03:49:56 UTC
There should be a way to get events for any dates / any contact, so you don't need to do many calls to _get_events_for_date_async().

One option would be to accept NULL in account, target and/or date in tpl_log_manager_get_events_for_date_async().

I need this to implement the mockup in https://bugzilla.gnome.org/show_bug.cgi?id=619866 in Empathy, since you can select one or both of anytime/anybody.
Comment 1 Nicolas Dufresne 2011-04-04 06:44:50 UTC
Hmm, loading the full database into RAM with a single call, that one is a little funny idea ....  At least with the current API you get the query split into multiple call, which will allow displaying stuff before your done querying. Seriously, I think we should stick with that for now, as it keeps the UI usable (think of people that has couple of years of logs, it's going to take a while to read/parse/allocate all this).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.